-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathenvironment.ts
21 lines (19 loc) · 887 Bytes
/
environment.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const env = {
songsUrl:
'http://localhost:3000/songs' ||
'https://heart-to-art-server.herokuapp.com/songs',
loggedIn: localStorage.getItem('loggedIn') || false,
token: localStorage.getItem('token') || '',
ghibliUrl: 'https://ghibliapi.herokuapp.com',
};
/*
* For easier debugging in development mode, you can import the following file
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
*
* This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.