chore: upgrade spacetimedb and stabilize dev startup
This commit is contained in:
@@ -16,6 +16,14 @@ export default defineConfig(({mode}) => {
|
||||
env.GENARRATIVE_API_TARGET ||
|
||||
`http://127.0.0.1:${env.GENARRATIVE_API_PORT || '3100'}`;
|
||||
const base = env.ADMIN_WEB_BASE || '/admin/';
|
||||
const ignoredWatchGlobs = [
|
||||
'**/.git/**',
|
||||
'**/.worktrees/**',
|
||||
'**/dist/**',
|
||||
'**/node_modules/**',
|
||||
'**/server-rs/**',
|
||||
'**/server-rs/target/**',
|
||||
];
|
||||
|
||||
return {
|
||||
root: adminWebRoot,
|
||||
@@ -23,6 +31,9 @@ export default defineConfig(({mode}) => {
|
||||
base,
|
||||
plugins: [react()],
|
||||
server: {
|
||||
watch: {
|
||||
ignored: ignoredWatchGlobs,
|
||||
},
|
||||
proxy: {
|
||||
'/admin/api': {
|
||||
target: apiTarget,
|
||||
|
||||
Reference in New Issue
Block a user