♻️(frontend) get collaboration server url from config endpoint

We centralized the configuration on the backend
side, it is easier to manage and we can change
the configuration without having to rebuild the
frontend.
We now use the config endpoint to get the collaboration
server url, we refacto to remove the frontend env
occurences and to adapt with the new way to get the
collaboration server url.
This commit is contained in:
Anthony LC
2024-11-21 10:43:01 +01:00
committed by Anthony LC
parent 7d64c82987
commit 42f809f6d4
12 changed files with 56 additions and 24 deletions

View File

@@ -1,3 +1,2 @@
NEXT_PUBLIC_API_ORIGIN=http://localhost:8071
NEXT_PUBLIC_Y_PROVIDER_URL=ws://localhost:4444
NEXT_PUBLIC_SW_DEACTIVATED=true