Hosting a PWA on Blot?
Is there a way to host PWAs on the site?
I’ve built something like example.com/tools/stats to keep track of stats, and it would be great if it could function as a PWA so it feels like an app.
Since PWAs require a manifest.json and related files, I was wondering if you know a clean or convenient way to set this up?
It should basically just work. You can stick the manifest file right in the folder and Blot will serve it (deep down, below all the template engine nonsense, Blot is just a static file server).
In order to prevent the HTML file becoming its own post, start the file name with an underscore:
/
tools/
stats/
_index.html
manifest.json
service-worker.js
You should be able to navigate to /tools/stats on your site and see _index.html and it won't become a post.