Yaml on Google App Engine with index.html

I am creating a website, I do not have index.py, how can I guarantee that index.html appears when I type http: // localhost: 8080 / ?

In my yaml

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

but it does not work.

+6
source share
1 answer

The static_files directive must specify the full path to the file:

 static_files: static/HTML/index.html 
+11
source

Source: https://habr.com/ru/post/893006/


All Articles