drop the SSE, use client side fetch every 5s for thread updates
This commit is contained in:
@ -64,6 +64,6 @@
|
||||
</span>
|
||||
</div>
|
||||
</dialog>
|
||||
<input type="hidden" id="thread-subscribe-endpoint" value="<%= url_for("sse_thread_updates", {thread_id = thread.id}) %>">
|
||||
<input type="hidden" id="thread-subscribe-endpoint" value="<%= url_for("api_get_thread_updates", {thread_id = thread.id}, {since = os.time()}) %>">
|
||||
<% render("views.threads.new-post-notification") %>
|
||||
<script src="/static/js/thread.js"></script>
|
||||
<script src="/static/js/thread.js?v=1"></script>
|
||||
|
Reference in New Issue
Block a user