use standard environments

This commit is contained in:
William Welling
2021-12-04 10:37:56 -06:00
parent c1555326fa
commit 71f5b46639
30 changed files with 963 additions and 861 deletions

View File

@@ -40,6 +40,9 @@ import { UIServerConfig } from './src/config/ui-server-config.interface';
import { ServerAppModule } from './src/main.server';
// import { buildAppConfig } from './src/config/config.server';
// import { AppConfig, APP_CONFIG } from './src/config/app-config.interface';
/*
* Set path for the browser application's dist folder
*/
@@ -51,6 +54,8 @@ const indexHtml = existsSync(join(DIST_FOLDER, 'index.html')) ? 'index.html' : '
const cookieParser = require('cookie-parser');
// const appConfig: AppConfig = buildAppConfig(join(DIST_FOLDER, 'assets/appConfig.json'));
// The Express app is exported so that it can be used by serverless Functions.
export function app() {
@@ -100,7 +105,11 @@ export function app() {
provide: RESPONSE,
useValue: (options as any).req.res,
},
],
// {
// provide: APP_CONFIG,
// useValue: appConfig
// }
]
})(_, (options as any), callback)
);