Skip to content

Commit

Permalink
Fix static urls
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Jul 20, 2024
1 parent 47af9d4 commit 38557b3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions web/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="static/css/main.css" />
<link rel="stylesheet" href="static/css/tailwind.css" />
<link rel="stylesheet" href="static/css/fa.css" />
<script src="static/js/jquery.js"></script>
<script src="static/js/alpine.js"></script>
<script src="static/js/main.js"></script>
<link rel="stylesheet" href="/static/css/main.css" />
<link rel="stylesheet" href="/static/css/tailwind.css" />
<link rel="stylesheet" href="/static/css/fa.css" />
<script src="/static/js/jquery.js"></script>
<script src="/static/js/alpine.js"></script>
<script src="/static/js/main.js"></script>
<title>{% block title %}{% endblock %} | Akatsuki Rework</title>
{% endblock %}
</head>
Expand Down
2 changes: 1 addition & 1 deletion web/templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class="p-4 my-8 bg-white border border-gray-200 rounded-lg shadow-md sm:p-6 lg:p-8 dark:bg-gray-800 dark:border-gray-700"
>
<div class="flex flex-col sm:flex-row items-center">
<img src="static/images/logo.png" class="rounded-full" />
<img src="/static/images/logo.png" class="rounded-full" />
<div class="ml-4">
<h1 class="text-2xl font-semibold text-white">Akatsuki PP Reworks</h1>
<p class="text-gray-500 dark:text-gray-400">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,5 @@ <h1 class="text-2xl font-semibold text-white">
rework_id: parseInt("{{ rework_data.id }}"),
};
</script>
<script src="static/js/pages/profile.js"></script>
<script src="/static/js/pages/profile.js"></script>
{% endblock %}
2 changes: 1 addition & 1 deletion web/templates/rework.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,5 +186,5 @@
page: parseInt("{{ page_num }}"),
};
</script>
<script src="static/js/pages/leaderboard.js"></script>
<script src="/static/js/pages/leaderboard.js"></script>
{% endblock %}

0 comments on commit 38557b3

Please sign in to comment.