fix: collection name mismatch, login/register navigation, and connection config

- Fix teamSessions → team_sessions to match PocketBase collection name
- Replace <a @click> with <router-link> in Login and Register views
- Update PocketBase default URL and vite proxy target
- Comment out docker-compose user directive for permission fix

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
congsh
2026-04-17 19:28:53 +08:00
parent c5d5484f9e
commit 4dd15dceab
7 changed files with 17 additions and 26 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export default defineConfig({
port: Number(process.env.VITE_PORT) || 5173,
proxy: {
'/api': {
target: process.env.VITE_PB_URL || 'http://192.168.1.14:8711',
target: process.env.VITE_PB_URL || 'http://localhost:8090',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}