Progressive Web Apps (PWA)

Trying to implement a PWA-version of a website. First step, is creating the manifest. This is a .json file. But MODX refuses to let me create a json file.

How to proceed?

Please open system settings and update upload_files value - just add json there separated by comma.
Reload browser page after.

2 Likes

Where are the Content Types defined? It looks like when I choose a JSON content type it gives the resources a .js file extension which I normally think of a javascript instead of JSON.

Is there a way to give it a .json extension or even a .webmanifest file extension?

Content > Content Types in the main nav. You can edit the extensions and even add your own.

@markh - Thanks. I was looking all through the system settings area and couldn’t find anything to match.