allow overriding theme fonts

This commit is contained in:
zadam
2021-09-27 21:01:56 +02:00
parent d5bd9875f9
commit e6bc8ed3b5
13 changed files with 259 additions and 96 deletions

View File

@@ -88,7 +88,8 @@ async function createMainWindow() {
const parsedUrl = url.parse(targetUrl);
// we still need to allow internal redirects from setup and migration pages
if (!['localhost', '127.0.0.1'].includes(parsedUrl.hostname) || (parsedUrl.path && parsedUrl.path !== '/')) {
if (!['localhost', '127.0.0.1'].includes(parsedUrl.hostname) || (parsedUrl.path && parsedUrl.path !== '/' && parsedUrl.path !== '/?')) {
ev.preventDefault();
}
});