mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00: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