testapp: rename API_KEY to MEET_API_KEY for consistency in environment configuration
This commit is contained in:
parent
9dc2796d24
commit
e1bf07532c
@ -1,3 +1,3 @@
|
|||||||
OPENVIDU_MEET_URL=http://localhost:6080/api/v1
|
OPENVIDU_MEET_URL=http://localhost:6080/api/v1
|
||||||
API_KEY=meet-api-key
|
MEET_API_KEY=meet-api-key
|
||||||
PORT=5080
|
PORT=5080
|
||||||
|
|||||||
@ -9,7 +9,7 @@ export class ConfigService {
|
|||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.meetApiUrl = process.env.OPENVIDU_MEET_URL!;
|
this.meetApiUrl = process.env.OPENVIDU_MEET_URL!;
|
||||||
this.meetApiKey = process.env.API_KEY!;
|
this.meetApiKey = process.env.MEET_API_KEY!;
|
||||||
this.serverPort = parseInt(process.env.PORT!, 10);
|
this.serverPort = parseInt(process.env.PORT!, 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user