fix(hasura): default to /graphql proxy

This commit is contained in:
u1
2026-01-10 22:55:14 +00:00
parent 6904be4a51
commit fb307f0279

View File

@@ -18,7 +18,7 @@ function getApiUrl(): string | undefined {
} }
function getHasuraUrl(): string { function getHasuraUrl(): string {
return (import.meta as any).env?.VITE_HASURA_URL || 'http://localhost:8080/v1/graphql'; return (import.meta as any).env?.VITE_HASURA_URL || '/graphql';
} }
function getAuthToken(): string | undefined { function getAuthToken(): string | undefined {