Updated static file paths to include "trlstats" prefix for consistency
This commit is contained in:
@@ -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 => {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" type="image/x-icon" href="/static/img/TRL_Logo_Custom.jpg">
|
||||
<link rel="icon" type="image/x-icon" href="/trlstats/static/img/TRL_Logo_Custom.jpg">
|
||||
<title>Gun Stats</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user