Disable default domain https://[project-id].appspot.com of Node JS on Google App Engine

前端 未结 3 2010
小蘑菇
小蘑菇 2020-12-20 21:21

I have deployed my Node JS app onto Google Cloud App Engine, and I can successfully add my custom domain for my app.

Let say my custom domain is example.com

3条回答
  •  爱一瞬间的悲伤
    2020-12-20 22:04

    You can do it just using the dispatch.yaml file from App Engine, list all your domains there, but not the *.appspot.com one. Google will show a 404 route when you try to access that.

    EDIT: Not possible anymore, check comments.

    Checkout the official reference.

提交回复
热议问题