Skip to content

Commit 2aca44a

Browse files
authored
Update web_src/js/features/common-page.ts
1 parent 28b2ea9 commit 2aca44a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web_src/js/features/common-page.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export function checkAppUrlScheme() {
9696
const curUrl = window.location.href;
9797
// some users visit "http://domain" while appUrl is "https://domain", COOKIE_SECURE makes it impossible to sign in
9898
if (curUrl.startsWith('http:') && appUrl.startsWith('https:')) {
99-
showGlobalErrorMessage(`Your ROOT_URL in app.ini "${appUrl}" uses HTTPS, it doesn't match the HTTP site you are visiting.
100-
Mismatched ROOT_URL config would cause problems for sign-in/sign-up, etc.`, 'warning');
99+
showGlobalErrorMessage(`This instance is configured to run under HTTPS (by ROOT_URL config), you are accessing by HTTP. Mismatched scheme might cause problems for sign-in/sign-up.`, 'warning');
101100
}
102101
}

0 commit comments

Comments
 (0)