mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-31 23:33:08 +08:00
Fix incorrect subpath in links (#29535)
* `$referenceUrl`: it is constructed by "Issue.Link", which already has the "AppSubURL" * `window.location.href`: AppSubURL could be empty string, so it needs the trailing slash
This commit is contained in:
@ -112,7 +112,7 @@ export function initNotificationCount() {
|
||||
type: 'close',
|
||||
});
|
||||
worker.port.close();
|
||||
window.location.href = appSubUrl;
|
||||
window.location.href = `${appSubUrl}/`;
|
||||
} else if (event.data.type === 'close') {
|
||||
worker.port.postMessage({
|
||||
type: 'close',
|
||||
|
Reference in New Issue
Block a user