Skip to content

Commit 3454be1

Browse files
committed
finally fix 404 error
1 parent 2e9979e commit 3454be1

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/frontend.yml

-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ jobs:
4242
- name: Build project
4343
run: pnpm run build
4444

45-
- name: List build output
46-
run: ls -R dist
47-
4845
- name: Setup Pages
4946
uses: actions/configure-pages@v5
5047

frontend/vite.config.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { defineConfig } from 'vite'
2-
import { svelte } from '@sveltejs/vite-plugin-svelte'
1+
import { defineConfig } from "vite";
2+
import { svelte } from "@sveltejs/vite-plugin-svelte";
33

44
// https://vite.dev/config/
55
export default defineConfig({
6-
plugins: [svelte()],
7-
})
6+
base: "https://bluescorpian.github.io/wind2speed-tracker/",
7+
plugins: [svelte()],
8+
});

0 commit comments

Comments
 (0)