开发者

yaml in Google App Engine with index.html

开发者 https://www.devze.com 2023-03-21 07:24 出处:网络
I\'m building a website, I have no index.py how to I ensure index.html comes up when I type in my http开发者_JAVA技巧://localhost:8080/?

I'm building a website, I have no index.py how to I ensure index.html comes up when I type in my http开发者_JAVA技巧://localhost:8080/?

I have in yaml

- url: /
  static_files: static/HTML
  upload: static/HTML/index.html

but this does not seem to work.


Your static_files directive needs to include the full path to the file:

static_files: static/HTML/index.html
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号