forked from rDrama/rDrama
bbbb
parent
8267a19ef0
commit
dda28492e8
|
@ -484,7 +484,7 @@ def api_comment(v):
|
||||||
'body': c.body,
|
'body': c.body,
|
||||||
},
|
},
|
||||||
'data': {
|
'data': {
|
||||||
'url': f'https://{site}/notifications',
|
'url': f'https://{site}/comment/{c.id}?context=9&read=true#context',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -73,5 +73,4 @@
|
||||||
<button class="btn btn-primary mt-3" onclick="post_toast('/admin/purge_cache');">PURGE CACHE</button>
|
<button class="btn btn-primary mt-3" onclick="post_toast('/admin/purge_cache');">PURGE CACHE</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<input type="button" value="Say hello" onClick="Subscribe('{{request.host}}{{v.id}}')" />
|
|
||||||
{% endblock %}
|
{% endblock %}
|
|
@ -167,7 +167,7 @@
|
||||||
{% if v %}
|
{% if v %}
|
||||||
<div class="d-none" id="strid">{{request.host}}{{v.id}}</div>
|
<div class="d-none" id="strid">{{request.host}}{{v.id}}</div>
|
||||||
<div class="d-none" id="pusherid">{{PUSHER_ID}}</div>
|
<div class="d-none" id="pusherid">{{PUSHER_ID}}</div>
|
||||||
<script src="/static/assets/js/pusher.js?a=160"></script>
|
<script src="/static/assets/js/pusher.js?a=161"></script>
|
||||||
<script>
|
<script>
|
||||||
Android.Subscribe('{{request.host}}{{v.id}}');
|
Android.Subscribe('{{request.host}}{{v.id}}');
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue