Skip to content

Commit 1099bd7

Browse files
chore(endpoints): Remove older region tag (#4033)
1 parent b9417a9 commit 1099bd7

File tree

1 file changed

+0
-4
lines changed
  • endpoints/getting-started

1 file changed

+0
-4
lines changed

endpoints/getting-started/app.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
'use strict';
1717

1818
// [START endpoints_server_setup]
19-
// [START setup]
2019
const express = require('express');
2120

2221
const app = express();
@@ -25,7 +24,6 @@ app.set('case sensitive routing', true);
2524

2625
// This middleware is available in Express v4.16.0 onwards
2726
app.use(express.json());
28-
// [END setup]
2927
// [END endpoints_server_setup]
3028

3129
app.post('/echo', (req, res) => {
@@ -46,13 +44,11 @@ app.get('/auth/info/googleidtoken', authInfoHandler);
4644

4745
if (module === require.main) {
4846
// [START endpoints_server_listen]
49-
// [START listen]
5047
const PORT = parseInt(process.env.PORT) || 8080;
5148
app.listen(PORT, () => {
5249
console.log(`App listening on port ${PORT}`);
5350
console.log('Press Ctrl+C to quit.');
5451
});
55-
// [END listen]
5652
// [END endpoints_server_listen]
5753
}
5854
// [END endpoints_express_auth]

0 commit comments

Comments
 (0)