aboutsummaryrefslogtreecommitdiff
path: root/public/ng/js/gogs.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/ng/js/gogs.js')
-rw-r--r--public/ng/js/gogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/ng/js/gogs.js b/public/ng/js/gogs.js
index 64bf42f3..5e1d8ebd 100644
--- a/public/ng/js/gogs.js
+++ b/public/ng/js/gogs.js
@@ -616,7 +616,7 @@ function initProfile() {
}
$(document).ready(function () {
- Gogs.AppSubUrl = $('head').data('suburl');
+ Gogs.AppSubUrl = $('head').data('suburl') || '';
initCore();
if ($('#user-profile-setting').length) {
initUserSetting();