Claude commited on
Commit ·
67b2647
1
Parent(s): f2c197f
Fix static file paths in HTML template
Browse filesReplace url_for() with direct paths for static assets (CSS, JS, favicon).
The url_for with leading slashes in path parameter was causing issues.
- app/templates/index.html +6 -6
app/templates/index.html
CHANGED
|
@@ -6,13 +6,13 @@
|
|
| 6 |
<title>SOCAR Historical Documents AI System</title>
|
| 7 |
|
| 8 |
<!-- Favicon -->
|
| 9 |
-
<link rel="icon" type="image/x-icon" href="
|
| 10 |
-
<link rel="apple-touch-icon" sizes="180x180" href="
|
| 11 |
-
<link rel="icon" type="image/png" sizes="192x192" href="
|
| 12 |
-
<link rel="icon" type="image/png" sizes="512x512" href="
|
| 13 |
|
| 14 |
<!-- Stylesheet -->
|
| 15 |
-
<link rel="stylesheet" href="
|
| 16 |
</head>
|
| 17 |
<body>
|
| 18 |
<div class="container">
|
|
@@ -143,6 +143,6 @@
|
|
| 143 |
</footer>
|
| 144 |
</div>
|
| 145 |
|
| 146 |
-
<script src="
|
| 147 |
</body>
|
| 148 |
</html>
|
|
|
|
| 6 |
<title>SOCAR Historical Documents AI System</title>
|
| 7 |
|
| 8 |
<!-- Favicon -->
|
| 9 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon/favicon.ico">
|
| 10 |
+
<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">
|
| 11 |
+
<link rel="icon" type="image/png" sizes="192x192" href="/static/favicon/icon-192.png">
|
| 12 |
+
<link rel="icon" type="image/png" sizes="512x512" href="/static/favicon/icon-512.png">
|
| 13 |
|
| 14 |
<!-- Stylesheet -->
|
| 15 |
+
<link rel="stylesheet" href="/static/css/style.css">
|
| 16 |
</head>
|
| 17 |
<body>
|
| 18 |
<div class="container">
|
|
|
|
| 143 |
</footer>
|
| 144 |
</div>
|
| 145 |
|
| 146 |
+
<script src="/static/js/app.js"></script>
|
| 147 |
</body>
|
| 148 |
</html>
|