From d5ca84e9a3ddaae63b7940ff783ec2d5d90a22bb Mon Sep 17 00:00:00 2001 From: IM23a-spirgif Date: Sun, 15 Jun 2025 22:29:36 +0200 Subject: [PATCH] Updated static file paths to include "trlstats" prefix for consistency --- static/populateTable.js | 2 +- templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/populateTable.js b/static/populateTable.js index 226ce85..2e4d52c 100644 --- a/static/populateTable.js +++ b/static/populateTable.js @@ -1,5 +1,5 @@ document.addEventListener('DOMContentLoaded', () => { - fetch('/static/json/data.json') // Fetch the JSON file directly + fetch('/trlstats/static/json/data.json') // Fetch the JSON file directly .then(response => response.json()) .then(data => { const updatedGuns = data.map(gun => { diff --git a/templates/index.html b/templates/index.html index 22128ed..d3a9958 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,7 +3,7 @@ - + Gun Stats