forked from MarseyWorld/MarseyWorld
bbbb
parent
8267a19ef0
commit
dda28492e8
|
@ -484,7 +484,7 @@ def api_comment(v):
|
|||
'body': c.body,
|
||||
},
|
||||
'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>
|
||||
{% endif %}
|
||||
|
||||
<input type="button" value="Say hello" onClick="Subscribe('{{request.host}}{{v.id}}')" />
|
||||
{% endblock %}
|
|
@ -167,7 +167,7 @@
|
|||
{% if v %}
|
||||
<div class="d-none" id="strid">{{request.host}}{{v.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>
|
||||
Android.Subscribe('{{request.host}}{{v.id}}');
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue