This website requires JavaScript.
Explore
Help
Sign In
studio
/
docs
Archived
Watch
2
Star
0
Fork
0
You've already forked docs
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
This repository has been archived on
2026-03-24
. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
bd79f84e070ebb42212859be1bbd7229c0ecbba2
docs
/
src
/
frontend
/
apps
/
impress
/
.env.development
3 lines
77 B
Plaintext
Raw
Normal View
History
Unescape
Escape
♻️(frontend) frontend environment free Until now, the front had to know at build time the url of the backend and the webrtc server to be able to communicate with them. It is not optimal because it means that we need multiple docker image (1 per environment) to have the app working, it is not very flexible. This commit will make the frontend "environment free" by determining these urls at runtime.
2024-05-13 10:54:47 +02:00
NEXT_PUBLIC_API_ORIGIN=http://localhost:8071
🧑💻(frontend) env var service-worker dev mode Add a new environment variable to enable or disable the service worker in development mode. By default, the service worker is disabled in development mode, it can cause problems when developing the application with the hmr. It can creates useless log in the console as well. We can easily enable it by setting NEXT_PUBLIC_SW_DEACTIVATED to false in the .env.development file. We will use this new var to not use the service worder with the CI as well.
2024-06-14 16:12:39 +02:00
NEXT_PUBLIC_SW_DEACTIVATED=true
Reference in New Issue
Copy Permalink