fix: update dist paths to include static/ subdirectory matching Bun output

This commit is contained in:
2026-05-13 15:07:32 +02:00
parent 7dfae428e5
commit 037137f48a

View File

@@ -33,26 +33,26 @@
html[data-theme="light"] .theme-icon-light { display: none; } html[data-theme="light"] .theme-icon-light { display: none; }
html[data-theme="light"] .theme-icon-dark { display: block; } html[data-theme="light"] .theme-icon-dark { display: block; }
</style> </style>
<script type="module" src="/dist/theme.js" defer></script> <script type="module" src="/dist/static/theme.js" defer></script>
<template id="toast-template"> <template id="toast-template">
<div class="toast bg-foreground/10 border border-border flex items-center gap-3 px-4 py-3 shadow-lg transform transition-all duration-300 translate-y-2 opacity-0"> <div class="toast bg-foreground/10 border border-border flex items-center gap-3 px-4 py-3 shadow-lg transform transition-all duration-300 translate-y-2 opacity-0">
<span class="toast-message text-sm text-foreground"></span> <span class="toast-message text-sm text-foreground"></span>
<button class="toast-close ml-2 opacity-50 hover:opacity-100" aria-label="Close"> <button class="toast-close ml-2 opacity-50 hover:opacity-100" aria-label="Close">
<svg class="size-4 text-foreground-muted" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> <svg class="size-4 text-foreground-muted" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M18 6L6 18M6 6l12 12"/> <path d="M18 6L6 18M6 6l12 12"/>
</svg> </svg>
</button> </button>
</div> </div>
</template> </template>
<script type="module" src="/dist/dropdown.js" defer></script> <script type="module" src="/dist/static/dropdown.js" defer></script>
<script type="module" src="/dist/discover.js" defer></script> <script type="module" src="/dist/static/discover.js" defer></script>
<script type="module" src="/dist/anime.js" defer></script> <script type="module" src="/dist/static/anime.js" defer></script>
<script type="module" src="/dist/timezone.js" defer></script> <script type="module" src="/dist/static/timezone.js" defer></script>
<script type="module" src="/dist/static/player/main.js" defer></script> <script type="module" src="/dist/static/player/main.js" defer></script>
<script type="module" src="/dist/search.js" defer></script> <script type="module" src="/dist/static/search.js" defer></script>
<script type="module" src="/dist/sort_filter.js" defer></script> <script type="module" src="/dist/static/sort_filter.js" defer></script>
<script type="module" src="/dist/dedupe.js" defer></script> <script type="module" src="/dist/static/dedupe.js" defer></script>
<script type="module" src="/dist/toast.js" defer></script> <script type="module" src="/dist/static/toast.js" defer></script>
<script src="https://unpkg.com/htmx.org@1.9.12"></script> <script src="https://unpkg.com/htmx.org@1.9.12"></script>
<script> <script>
document.addEventListener('htmx:afterSwap', function(evt) { document.addEventListener('htmx:afterSwap', function(evt) {