Skip to content

Commit aa983c3

Browse files
committed
fix port
1 parent 3167270 commit aa983c3

File tree

4 files changed

+728
-14
lines changed

4 files changed

+728
-14
lines changed

src/index.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,5 @@ app.use((err, req, res, next) => {
6767
}));
6868
});
6969

70-
// For local development
71-
if (process.env.ENVIRONMENT === 'dev') {
72-
// Start server locally
73-
const port = process.env.PORT || 8080;
74-
app.listen(port, () => {
75-
console.log(`Server listening on port ${port}`);
76-
});
77-
}
78-
79-
// Export for Cloud Run
70+
// Export the app for Cloud Functions Framework
8071
exports.app = app;

0 commit comments

Comments
 (0)