Self-hosting
Separate instances of the app (independent scopes) can isolate
contexts from each other.
Self-hosting is just a matter of copying a
file directory to
your website document root.
Security headers
Be mindful to set the mandatory HTTP headers for safe
operation: Content-Security-Policy: ....
You can set the Referrer-Policy: no-referrer header to block the browser
from sending the app origin on every request it makes to network node origins.
You maybe also want to set a Integrity-Policy: destinations=(style) header.
This makes your app more secure, but it will block a lot of CSS from loading.
A full set of recommended HTTP headers can be found in the web/_headers file distributed with the app.
The app can be hosted at any URL path prefix.
The app will install a serviceworker, so it is recommended
to install the app to a subdirectory in the server
document root.
Renaming the net.html file is allowed.
Example app URLs:
- https://personal.net/friends/net.html
- https://personal.net/net/family
- https://company.com/some/warez.html
- https://happycamping.com/info/net.html