Skip to content

Google Cloud deployment #1785

Answered by fivethreeo
andyzeli asked this question in Q&A
Dec 8, 2021 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

build with:

# .env.production
PUBLIC_PATH=/
# app.yml
runtime: nodejs
env: flex
entrypoint: build/server.js
handlers:
# All URLs beginning with /static are treated as paths to
# static files in the build/public/static directory.
- url: /static
  static_dir: build/public/static
- url: /.*
  secure: always
  redirect_http_response_code: 301
  script: auto

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@andyzeli
Comment options

Answer selected by andyzeli
Comment options

You must be logged in to vote
1 reply
@fivethreeo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants