Reputation: 5946
I'm building a website, I have no index.py how to I ensure index.html comes up when I type in my http://localhost:8080/?
I have in yaml
- url: /
static_files: static/HTML
upload: static/HTML/index.html
but this does not seem to work.
Upvotes: 6
Views: 1796
Reputation: 89847
Your static_files
directive needs to include the full path to the file:
static_files: static/HTML/index.html
Upvotes: 11