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.
The static_files directive must specify the full path to the file:
static_files
static_files: static/HTML/index.html
Source: https://habr.com/ru/post/893006/More articles:Why doesn't HttpSessionState implement an IDictionary? - dictionaryThe return value of the background process is unix3D in WinForms? - c #C ++ Input and output to the console window at the same time - c ++SQL Server Nonclustered Index - databaseWhy doesn't jQuery.change () work when radio buttons are disabled as a result of selecting the namesake? - jquerygoogle maps v3 formatting multiple lines of content in infoWindow - newlineHelp with parsing strings - c #How to untie texture from frame buffer - openglMigrating from MySQL to SQL Server - databaseAll Articles