fix: resolve API 404 by using correct /typedrequest endpoint

- Update ApiService baseUrl to include /typedrequest path that TypedServer expects
- Add noCache option to ViewServer to prevent client caching issues during development
- Update @api.global/typedserver to v8.3.0 which includes the noCache feature
This commit is contained in:
2026-01-23 23:18:20 +00:00
parent 74d24cf8b9
commit f64fc069d4
5 changed files with 10 additions and 9 deletions

View File

@@ -42,8 +42,8 @@ export class ApiService {
private baseUrl: string;
constructor() {
// Use current origin for API calls
this.baseUrl = window.location.origin;
// Use current origin for API calls - TypedServer expects /typedrequest endpoint
this.baseUrl = window.location.origin + '/typedrequest';
}
/**