Skip to content

Commit 5cd4634

Browse files
committed
Move ui to dist/public
1 parent 594a0ee commit 5cd4634

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build": {
1212
"builder": "@angular-devkit/build-angular:browser",
1313
"options": {
14-
"outputPath": "dist",
14+
"outputPath": "dist/public",
1515
"index": "src/index.html",
1616
"main": "src/main.ts",
1717
"tsConfig": "src/tsconfig.app.json",

server/config/express.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ module.exports = function(app) {
2525
app.use(cookieParser());
2626

2727
if ('production' === env) {
28-
app.use(express.static(path.join(configurations.root, 'dist')));
29-
app.set('appPath', 'dist');
28+
app.use(express.static(path.join(configurations.root, 'dist/public')));
29+
app.set('appPath', 'dist/public');
3030
app.use(morgan('dev'));
3131
app.use(errorHandler()); // Error handler - has to be last
3232
}
3333

3434
if ('development' === env || 'test' === env) {
35-
app.use(express.static(path.join(configurations.root, 'dist')));
36-
app.set('appPath', 'dist');
35+
app.use(express.static(path.join(configurations.root, 'dist/public')));
36+
app.set('appPath', 'dist/public');
3737
app.use(morgan('dev'));
3838
app.use(errorHandler()); // Error handler - has to be last
3939
}

src/app/rh-table/backtest-stocks.constant.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ function createParam(ticker: string): AlgoParam {
1313
}
1414

1515
export const stockList = [
16+
'RKT',
1617
'NOK',
1718
'COUP',
1819
'TDG',

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compileOnSave": false,
33
"compilerOptions": {
44
"importHelpers": true,
5-
"outDir": "./dist",
5+
"outDir": "./dist/public",
66
"sourceMap": true,
77
"declaration": false,
88
"module": "commonjs",

0 commit comments

Comments
 (0)