Skip to content

Instantly share code, notes, and snippets.

@mikesparr
Created July 24, 2020 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikesparr/7cbb26655586a5f6d9e171651665c8da to your computer and use it in GitHub Desktop.
Save mikesparr/7cbb26655586a5f6d9e171651665c8da to your computer and use it in GitHub Desktop.
Google App Engine config for React app
# app.yaml
env: standard
runtime: nodejs10
service: app-engine-react-demo
handlers:
- url: /static
static_dir: build/static
- url: /(.*\.(json|ico|js))$
static_files: build/\1
upload: build/.*\.(json|ico|js)$
- url: .*
static_files: build/index.html
upload: build/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment