I wanted to add a http headers access control allow origin to make my app compatible with CORS. I did it in the app.yaml file but when I try to deploy my server, it make me a parsing error.
An error occurred while parsing file
Here is my app.yaml
runtime: nodejs
env: flex
skip_files:
- ^node_modules$
handlers:
- url: /generate
http_headers:
Access-Control-Allow-Origin: http:/localhost:3000
Do someone have an idea please ? I think that I have respect the indentation.
Thanks :)
-
(dash) beforehttp_headers
– sideshowbarker/
in your url:http://localhost:3000
– John Hanley