Skip to content

Commit

Permalink
fix: serving static files without relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamza12700 committed Oct 15, 2024
1 parent 2dbba6f commit be878c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
crossorigin="anonymous"
></script>
<title>Shawty</title>
<link rel="stylesheet" href="dist.css" />
<link rel="stylesheet" href="/static/dist.css" />
<!-- <link rel="icon" type="image/x-icon" href="./favicon.png"> !-->
<style>
a {
Expand Down Expand Up @@ -53,7 +53,7 @@ <h2 class="text-2xl sm:text-3xl font-bold text-center mb-6">
/>
<img
class="htmx-indicator absolute right-1 top-1 w-8 md:top-2"
src="./loading.gif"
src="/static/loading.gif"
alt="spinner"
/>
</div>
Expand Down Expand Up @@ -94,4 +94,4 @@ <h2 class="font-bold mb-4 mt-10 text-2xl sm:text-3xl">
</p>
</main>
</body>
</html>
</html>

0 comments on commit be878c3

Please sign in to comment.