Prototype commit
Some checks are pending
check / frontend (push) Waiting to run
check / server (push) Waiting to run

This commit is contained in:
Pen Anderson 2026-05-05 09:33:51 -05:00
commit b2ffbe865e
29 changed files with 3438 additions and 0 deletions

39
web/vite.config.ts Normal file
View file

@ -0,0 +1,39 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
server: {
host: '0.0.0.0',
port: 5173,
strictPort: true,
allowedHosts: ['docent-dev.pentacle.games', 'localhost'],
hmr: {
protocol: 'wss',
host: 'docent-dev.pentacle.games',
clientPort: 443
},
watch: {
usePolling: true,
interval: 500
},
fs: {
strict: true,
allow: ['./src', './static', './node_modules', './.svelte-kit'],
deny: [
'.env',
'.env.*',
'**/.git/**',
'**/secrets/**',
'**/*.{pem,crt,key,age}',
'../server/**',
'../content/**'
]
},
proxy: {
'/api': 'http://localhost:8181',
'/audio': 'http://localhost:8181',
'/images': 'http://localhost:8181'
}
}
});