use relative paths for reverse proxy

This commit is contained in:
johnwang16
2025-05-31 14:19:57 -04:00
parent 5dcfb37c4b
commit 692070de21
4 changed files with 8 additions and 8 deletions

View File

@@ -18,7 +18,7 @@
function initOnlineHistoryGraph() {
$.get('/php/server/query_json.php', { file: 'table_online_history.json', nocache: Date.now() }, function(res) {
$.get('php/server/query_json.php', { file: 'table_online_history.json', nocache: Date.now() }, function(res) {
// Extracting data from the JSON response
var timeStamps = [];
var onlineCounts = [];
@@ -53,4 +53,4 @@ function initOnlineHistoryGraph() {
</script>
<!-- <canvas id="clientsChart" width="800" height="140" class="extratooltipcanvas no-user-select"></canvas> -->
<canvas id="OnlineChart" style="width:100%; height: 150px; margin-bottom: 15px;"></canvas>
<canvas id="OnlineChart" style="width:100%; height: 150px; margin-bottom: 15px;"></canvas>