We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7095c6b commit d87d5f1Copy full SHA for d87d5f1
app.yaml
@@ -1,6 +1,10 @@
1
runtime: nodejs
2
env: flex
3
4
+runtime_config:
5
+ operating_system: "ubuntu22"
6
+ runtime_version: "18"
7
+
8
env_variables:
9
# --REQUIRED--
10
DATABASE_URI: mongodb://localhost:27017/dev
index.js
@@ -24,6 +24,8 @@ export const config = {
24
25
export const app = express();
26
27
+app.set('trust proxy', true);
28
29
// Serve static assets from the /public folder
30
app.use('/public', express.static(path.join(__dirname, '/public')));
31
0 commit comments