Streaming live at 10am (PST)

Uploading Files on a specific folder

#1

A customer of ours wanted to implement push notifications on their website. For that to happen, two files - Manifest.json and Service-Worker need to be uploaded on a specific directory (Not necessarily the root directly, as a lot of other threads have been talking about), such that they can be accessed in the browser. For eg
chadwicks.com has their manifest file on https://www.chadwicks.com/text/chadwicks/manifest.json

Is there a way where these files can be added/uploaded onto a specific folder?

Thanks
Vivek

#2

Not at all at the moment. And even if .json files were supported as assets, they’d be stored in the cloud, without you being able to control where exactly they go.

You need to read the exact specs of your push solution and see if you can host those files on another server. if they need to be on the same domain, maybe you can define a subdomain on another server and host them there.