i like to know how to serve a static HTML page by GAE using webapp framework. using python , the api states
self.response.out.write(htmlcontent)
is there any way to just provide the html filename, and GAE automatically servers it? Or do I have to manually load the file and put the contents using the above function?
You can serve a static HTML page like this, in
app.yaml:This will serve the file
main.htmlon the root (/) of the app.