diff --git a/src/api/apiAxios.ts b/src/api/apiAxios.ts index dd65d06a..b70982d0 100644 --- a/src/api/apiAxios.ts +++ b/src/api/apiAxios.ts @@ -24,6 +24,9 @@ export const newApiAxios = (base: 'server' | 'client') => { debugServer('[SERVER API]', method?.toUpperCase(), url && baseURL ? new URL(url, baseURL).href : url) + config.headers['X-Forwarded-Host'] = 'test.strom.sk' + config.headers['X-Forwarded-Proto'] = 'https' + return config }) }