Skip to content

Commit

Permalink
fix(app-env): use form.port for APP_DOMAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
nicotsx committed Jan 10, 2025
1 parent 1806d49 commit cad58dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/modules/apps/app.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class AppHelpers {
envMap.set('APP_HOST', `${config.id}.${envMap.get('LOCAL_DOMAIN')}`);
envMap.set('APP_PROTOCOL', 'https');
} else {
envMap.set('APP_DOMAIN', `${internalIp}:${config.port}`);
envMap.set('APP_DOMAIN', `${internalIp}:${form.port}`);
envMap.set('APP_HOST', internalIp);
envMap.set('APP_PROTOCOL', 'http');
}
Expand Down

0 comments on commit cad58dc

Please sign in to comment.