Uses staging build settings and exprts ThisEnvironment

This commit is contained in:
Aaron Louie 2020-01-28 11:24:03 -05:00
parent 8556587dc5
commit 9f05cbf2bc
2 changed files with 3 additions and 3 deletions

View File

@ -15,8 +15,8 @@ RUN apt-get -y install nodejs build-essential
#RUN npm cache verify #RUN npm cache verify
RUN npm install RUN npm install
#RUN npm run build:staging RUN npm run build:staging
RUN npm run build #RUN npm run build
#FROM nginx:alpine #FROM nginx:alpine

View File

@ -30,7 +30,7 @@ import {WorkflowSpecDialogComponent} from './workflow-spec-dialog/workflow-spec-
import {WorkflowSpecListComponent} from './workflow-spec-list/workflow-spec-list.component'; import {WorkflowSpecListComponent} from './workflow-spec-list/workflow-spec-list.component';
import { GetIconCodePipe } from './_pipes/get-icon-code.pipe'; import { GetIconCodePipe } from './_pipes/get-icon-code.pipe';
class ThisEnvironment implements AppEnvironment { export class ThisEnvironment implements AppEnvironment {
production = environment.production; production = environment.production;
api = environment.api; api = environment.api;
googleAnalyticsKey = environment.googleAnalyticsKey; googleAnalyticsKey = environment.googleAnalyticsKey;