refactor: replace instanceID - Details with instanceName - Details

- Change API endpoint from POST to GET for instance status
- Update proxy target URL in vite config
- Add instance name display and remove initSystem from detail view
- Improve instance data handling in InstanceDetail component
This commit is contained in:
2026-03-25 10:44:18 +08:00
parent 7fdf62da7a
commit ea49736779
3 changed files with 9 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ export default defineConfig({
port: 3000,
proxy: {
'/api': {
target: 'http://localhost:8080',
target: 'http://192.168.1.4:38080',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}