We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30a0a93 commit d89afbdCopy full SHA for d89afbd
.github/workflows/deploy.yml
@@ -26,6 +26,8 @@ jobs:
26
27
- name: Build
28
run: npm run build
29
+ env:
30
+ VITE_BASE_PATH: /StickerLayout/
31
32
- name: Deploy to GitHub Pages
33
uses: peaceiris/actions-gh-pages@v3
vite.config.js
@@ -3,4 +3,5 @@ import react from '@vitejs/plugin-react'
3
4
export default defineConfig({
5
plugins: [react()],
6
+ base: process.env.VITE_BASE_PATH || '/',
7
})
0 commit comments