mirror of
https://gitlab.com/vyla-entertainment/home.git
synced 2026-11-20 09:07:23 -05:00
fixed logo, updated sdk , changed frontend to support server.js n it runs it well
This commit is contained in:
@@ -47,8 +47,14 @@ class ServiceManager {
|
||||
this.credentialManager.setCredential('player', 'TOKEN_SECRET', tokenSecret);
|
||||
}
|
||||
|
||||
const defaultPorts = {
|
||||
player: 3000,
|
||||
frontend: 4890
|
||||
};
|
||||
|
||||
const env = {
|
||||
...process.env,
|
||||
PORT: (this.envConfig[name] && this.envConfig[name].PORT) || defaultPorts[name] || process.env.PORT || 3000,
|
||||
TOKEN_SECRET: tokenSecret,
|
||||
...(this.envConfig[name] || {}),
|
||||
...(this.credentialManager.getServiceCredentials(name) || {})
|
||||
|
||||
Reference in New Issue
Block a user