♻️(frontend) add api versionning per request

We were using the version of the api from the
.env file, but we could have different versions
of the api in the same app. So we now use the
version from the request.
This commit is contained in:
Anthony LC
2024-06-06 09:54:44 +02:00
committed by Anthony LC
parent 197b16c5d0
commit da3ad91283
9 changed files with 27 additions and 21 deletions

View File

@@ -72,7 +72,6 @@ frontend:
envVars:
PORT: 8080
NEXT_PUBLIC_API_ORIGIN: https://impress.127.0.0.1.nip.io
NEXT_PUBLIC_API_URL: /api/v1.0/
NEXT_PUBLIC_SIGNALING_URL: wss://impress.127.0.0.1.nip.io/ws
replicas: 1