How to host static HTML files on Google App Engine?

前端 未结 7 2341
予麋鹿
予麋鹿 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:13

    This also worked for me. It's exactly like @BradAbrams solution only with static_dir for the second part :

    handlers:
    
    - url: /
      static_files: index.html
      upload : index.html
    
    - url: /*
      static_dir: "."
    

提交回复
热议问题