staticSite

The static site service hosts a static site on the base path. This can be either a static files-based website or a SPA. The service has the following special configuration property:

  • divertMissingToDefault: If true, any requests which returns a 404 is served with the contents of the index.html file (this is not an instruction to the browser to divert, it is simply serving the index.html page on any url that would otherwise be a 404). This is necessary to support SPA routing.

There's currently no means of uploading the static site. A zip file upload facility will be added soon.