feat: proxy api requests via frontend

This commit is contained in:
nihonium 2025-10-26 04:06:38 +03:00
parent 66281838b2
commit 6ed47b667c
Signed by untrusted user: nihonium
GPG key ID: 0251623741027CFC
4 changed files with 32 additions and 2 deletions

View file

@ -20,7 +20,7 @@ export type OpenAPIConfig = {
};
export const OpenAPI: OpenAPIConfig = {
BASE: 'https://api.example.com',
BASE: '/api/v1',
VERSION: '1.0.0',
WITH_CREDENTIALS: false,
CREDENTIALS: 'include',