How to host static HTML files on Google App Engine?

前端 未结 7 2308
予麋鹿
予麋鹿 2020-12-22 21:57

Is it possible to host a static HTML website on App Engine? And how to make my domain name work with it?

相关标签:
7条回答
  • 2020-12-22 22:39

    Yes you can host your static files on AppEngine. Just configure your app.yaml-file like the following

    - url: /
      static_dir: static_files
    

    And put your files in the directory static_files. This way every request is routed to your static files.

    0 讨论(0)
提交回复
热议问题