Skip to content

Commit

Permalink
Merge pull request #242 from TAMULib/bootstrap-patch
Browse files Browse the repository at this point in the history
Added patch for broken bootstrapping
  • Loading branch information
jeremythuff authored Nov 23, 2020
2 parents 179ddb8 + 070f200 commit 4a04732
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tamu-library-components",
"version": "1.6.1",
"version": "1.6.2",
"private": true,
"config": {
"DOCKER_SERVER": "10.55.134.48/weaver/tl-components"
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { enableProdMode } from '@angular/core';
import { enableProdMode, isDevMode } from '@angular/core';
import { weaverBootstrap } from '@wvr/elements';
import { TamuLibModule } from './app/tl-lib.module';
import { environment } from './environments/environment';
Expand All @@ -8,5 +8,5 @@ if (environment.production) {
}

document.addEventListener('DOMContentLoaded', () => {
weaverBootstrap(TamuLibModule)('/config.json');
weaverBootstrap(TamuLibModule)(isDevMode() ? '/config.json' : undefined);
});

0 comments on commit 4a04732

Please sign in to comment.