Integrating Web Push Notifications (onesignal) Help Needed


#1

Hi,

I am trying to integrate Web Push Notifications to my discourse. Please check the installation instructions here.

I am stuck in the following.

2.3 Upload the files to the top-level root of your site directory. The following URLs should be publicly accessible:

https://site.com/manifest.json
https://site.com/OneSignalSDKWorker.js
https://site.com/OneSignalSDKUpdaterWorker.js

How can we add the above files to the root folder in discourse?


(Rafael dos Santos Silva) #2

You will need to write a custom plugin for this.