Front : create class to connect, send and receive message
- Create environment class - Create Connexion class to connect and save data - Refactor back api
This commit is contained in:
parent
b4f77ba51a
commit
7e08e7f133
8 changed files with 374 additions and 5 deletions
5
front/src/Enum/EnvironmentVariable.ts
Normal file
5
front/src/Enum/EnvironmentVariable.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
const API_URL = process.env.API_URL || "http://api.workadventure.localhost";
|
||||
|
||||
export {
|
||||
API_URL
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue