We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6056812 commit fdafd76Copy full SHA for fdafd76
1 file changed
web/vite.config.ts
@@ -1,12 +1,10 @@
1
import { defineConfig } from 'vite'
2
import react from '@vitejs/plugin-react'
3
4
-const isStatic = process.env.VITE_STATIC === 'true'
5
-
6
export default defineConfig({
7
plugins: [react()],
8
- // When building for GitHub Pages the app lives at /<repo-name>/
9
- base: isStatic ? '/Knights-And_Knaves_Solver/' : '/',
+ // Custom domain (kkas.bram-hub.com) serves from root — no subpath needed
+ base: '/',
10
server: {
11
proxy: {
12
'/api': 'http://localhost:8000',
0 commit comments