fixed logo, updated sdk , changed frontend to support server.js n it runs it well

This commit is contained in:
Devin Bot
2026-10-23 20:13:01 -07:00
parent 2435ee51e6
commit 35087d24e8
5 changed files with 32 additions and 51 deletions

View File

@@ -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) || {})