dis*_*ive 6 python google-app-engine
我正在建立一个网站,我没有index.py当我输入我的http:// localhost:8080 /时,如何确保index.html出现?
我有yaml
- url: /
static_files: static/HTML
upload: static/HTML/index.html
Run Code Online (Sandbox Code Playgroud)
但这似乎不起作用.
Woo*_*ble 11
您的static_files指令需要包含文件的完整路径:
static_files: static/HTML/index.html
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1780 次 |
| 最近记录: |