I'm trying to use Onesginal Web but it does not work, the icon below appears but does nothing.
It's all set up on the "onesignal" site
Onesignal is making a call, I believe that I should be in trouble. This is passing in the undefined url.
' Onesignal Push Notification
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="manifest" href="manifest.json">
<!-- <script src="https://cdn.onesignal.com/sdks/OneSignalSDKWorker.js"async="" ></script> -->
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js"async=""></script>
<script>
var OneSignal = window.OneSignal || [];
OneSignal.push(function() {
OneSignal.init({
appId: "XXXXX-XXXXX-XXXX-XXXX",
autoRegister: false,
allowLocalhostAsSecureOrigin: true,
notifyButton: {
enable: true,
},
});
});
</script>
'