Just to add - unrelated to the above issue - the handlers part also doesn't work, it's supposed to redirect to https but it doesn't.
I have checked config on the console and it looks like it does upload the config in app.yaml just fine: [image: 08-16_16-31-23.png] <about:invalid#zClosurez> On Thursday, August 16, 2018 at 4:23:33 PM UTC+1, Ryan Sacha wrote: > > I have an issue with a node js app engine project, where the main > script/server.js receives the environment variables just fine. but the > "postinstall" doesn't. > > { > "name": "citation-generator", > "version": "4.1.0", > "main": "server.js", > "scripts": { > "start": "node server.js", > "postinstall": "gulp --production" > }, > ... > } > > > Gulp doesn't receive the custom env variables i set on app.yaml, in fact i > tested it by logging process.env from gulp.js and it's just the generic > variables on a linux environment. > > my app.yaml: > > > > > runtime: nodejs > env: flex > > > manual_scaling: > instances: 1 > resources: > cpu: 1 > memory_gb: 0.5 > disk_size_gb: 10 > > > env_variables: > FOO: "BAR" > > > handlers: > - url: /.* > script: auto > secure: always > redirect_http_response_code: 301 > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/29ae8985-5ac1-47f9-8e8c-b905fd81b70d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.