diff --git a/deploy.sh b/deploy.sh index 0f56cbc..2464c0f 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,8 +1,7 @@ #!/bin/bash -cd .. -ng build --prod --no-aot --env=prod -# deploy the disbiome website to the disbiome webservice -rsync -az -e ssh --progress --exclude dist/.git --delete dist/* root@disbiomewebserver:/var/www/html/ +# remove --no-aot, this helped to alleviate error of library, but not necessary in this version? +ng build --prod --env=prod +rsync -az -e ssh --progress --exclude dist/.git --delete dist/* root@nielandtnginx:/www/ # overwrite the local config with the remote config # ssh disbiomewebserver mv /var/www/html/app/config/appconfig.remote.ts /var/www/html/app/config/appconfig.ts # recompile everything diff --git a/src/app/components/languagetoggle/languagetoggle.component.ts b/src/app/components/languagetoggle/languagetoggle.component.ts index 0b18abd..e19895d 100644 --- a/src/app/components/languagetoggle/languagetoggle.component.ts +++ b/src/app/components/languagetoggle/languagetoggle.component.ts @@ -19,7 +19,7 @@ export class LanguagetoggleComponent implements OnInit { /** * if this is set to true, the component will be visible */ - private show = false; + show = false; constructor(private router: Router, private route: ActivatedRoute, private stateService: StateService) { }