mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-17 14:59:39 +00:00
Backport #29535 by wxiaoguang * `$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 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
1 parent
3a8877c058
commit
401cc394d5
4 files changed
+4
-4
No files matched your search
@@ -74,7 +74,7 @@ export function initStopwatch() {
|
||||
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