refactor(environment): rename config keys to camelCase

Aligns environment.* shape with TypeScript convention.
Renames: api_url -> apiBaseUrl, api_key -> apiKey,
use_api_key -> useApiKey, refresh_interval -> refreshInterval,
google_map_api_key -> googleMapApiKey.

The local environment.{ts,development.ts,local.ts} files are
gitignored and have already been migrated; this commit updates
the tracked example file and the only consumer (apiInterceptor).
This commit is contained in:
2026-04-25 17:22:49 +02:00
parent c32191b37d
commit 223955eb84
2 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export const apiInterceptor: HttpInterceptorFn = (req, next) => {
setHeaders: {
...({ 'Content-Type': 'application/json', 'Accept': 'application/json' }),
},
url: `${environment.api_url}${req.url}`
url: `${environment.apiBaseUrl}${req.url}`
});
return next(apiReq);
};