~repos /website
git clone https://pyrossh.dev/repos/website.git
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
7c4fd0a2
—
pyrossh 1 year ago
fix base path
- svelte.config.js +4 -1
svelte.config.js
CHANGED
|
@@ -9,7 +9,10 @@ const config = {
|
|
|
9
9
|
fallback: 'index.html',
|
|
10
10
|
precompress: false,
|
|
11
11
|
strict: true
|
|
12
|
-
})
|
|
12
|
+
}),
|
|
13
|
+
paths: {
|
|
14
|
+
base: process.argv.includes('dev') ? '' : 'pyros.sh'
|
|
15
|
+
}
|
|
13
16
|
}
|
|
14
17
|
};
|
|
15
18
|
|