Skip to content

Commit

Permalink
configure environments
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Smodish <[email protected]>
  • Loading branch information
AlexVCS and ssmodish committed Dec 9, 2024
1 parent 4fb2c84 commit 10acd45
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions base-client/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,17 @@
"with": "src/environments/environment.development.ts"
}
]
},
"staging": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.staging.ts"
}
]
}
},
"defaultConfiguration": "production"
Expand Down
2 changes: 1 addition & 1 deletion base-client/src/app/lib/selections.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
import { HttpClient } from "@angular/common/http";
import { BehaviorSubject, Observable } from "rxjs";
import { SelectionData } from '../interfaces/selection-data';
import { environment } from '../../environments/environment.development';
import { environment } from '../../environments/environment';

@Injectable({
providedIn: 'root'
Expand Down

0 comments on commit 10acd45

Please sign in to comment.