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:
@@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user