We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0d3fae commit 7b7374cCopy full SHA for 7b7374c
packet/templates/include/head.html
@@ -38,9 +38,14 @@
38
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
39
<script>
40
var OneSignal = window.OneSignal || [];
41
+ {% if info.realm == "csh" %}
42
+ var appId = "{{ config['ONESIGNAL_CSH_APP_ID'] }}";
43
+ {% else %}
44
+ var appId = "{{ config['ONESIGNAL_INTRO_APP_ID'] }}";
45
+ {% endif %}
46
OneSignal.push(function () {
47
OneSignal.init({
- appId: "{{ config['ONESIGNAL_APP_ID'] }}",
48
+ appId: appId,
49
autoResubscribe: true,
50
allowLocalhostAsSecureOrigin: true,
51
});
0 commit comments