This commit is contained in:
Vaica committed 2026-06-22 00:52:51 +08:00
1 parent d664326648
commit 612cafe5ad
6 files changed
+22 -7

No files matched your search

+1 -2
View File
@@ -78,8 +78,7 @@ export default function HomePage() {
const handlePreview = async (slug: string) => {
await fetch("/api/hugo");
const previewBase = `${location.protocol}//${location.hostname}:1313`;
window.open(`${previewBase}/${slug}.html`, "_blank");
window.open(`/preview/${slug}.html`, "_blank");
};
const toggleSelect = (slug: string) => {