Skip to content

Commit

Permalink
Debugging on main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
EricSommerhalder committed Jul 3, 2020
1 parent 6ad3b2b commit 2d93fe2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function bootstrapFailed(result: any) {
}

fetch(`config/config.json`)
.then(response => { console.log('MAIN:', response); return response.json(); })
.then(response => response.json())
.then(config => {
if (!config || !config['server']) {
bootstrapFailed(config);
Expand All @@ -34,7 +34,3 @@ fetch(`config/config.json`)
.catch(err => bootstrapFailed(err));
})
.catch(bootstrapFailed);


platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));

0 comments on commit 2d93fe2

Please sign in to comment.