disruptive
disruptive

Reputation: 5946

yaml in Google App Engine with index.html

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

Answers (1)

Wooble
Wooble

Reputation: 89847

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

static_files: static/HTML/index.html

Upvotes: 11

Related Questions