mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Update userNotifications.php
Updated “absolute” URLs to “relative” URLs for correct operation through proxys.
This commit is contained in:
@@ -48,7 +48,7 @@ require 'php/templates/header.php';
|
||||
|
||||
<script>
|
||||
function fetchData(callback) {
|
||||
$.get('/php/server/query_json.php', { file: 'user_notifications.json', nocache: Date.now() })
|
||||
$.get('php/server/query_json.php', { file: 'user_notifications.json', nocache: Date.now() })
|
||||
.done(function(response) {
|
||||
if (response == "[]" || response == "") {
|
||||
callback([]);
|
||||
|
||||
Reference in New Issue
Block a user