Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const express = require('express');
- const app = express();
- require('@google-cloud/profiler').start();
- app.get('/', (req, res) => {
- res.status(200).send('Hello, world!').end();
- });
- // Start the server
- const PORT = process.env.PORT || 8080;
- app.listen(PORT, () => {
- console.log(`App listening on port ${PORT}`);
- console.log('Press Ctrl+C to quit.');
- });
Add Comment
Please, Sign In to add comment