return this.serverService.getConfig().instance.name
}
+ get defaultRoute () {
+ return RedirectService.DEFAULT_ROUTE
+ }
+
ngOnInit () {
+ document.getElementById('incompatible-browser').className += ' browser-ok'
+
const pathname = window.location.pathname
if (!pathname || pathname === '/') {
this.redirectService.redirectToHomepage()
.subscribe(() => {
const config = this.serverService.getConfig()
- // We test customCSS in case or the admin removed the css
+ // We test customCSS if the admin removed the css
if (this.customCSS || config.instance.customizations.css) {
const styleTag = '<style>' + config.instance.customizations.css + '</style>'
this.customCSS = this.domSanitizer.bypassSecurityTrustHtml(styleTag)