mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 01:12:03 +00:00
add notification (#2353)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
let slug, repoID, serviceUrl, initialFilePath;
|
||||
|
||||
export const dirPath = '/';
|
||||
export const gettext = window.gettext;
|
||||
|
||||
@@ -9,7 +11,11 @@ export const siteTitle = window.app.config.siteTitle;
|
||||
export const logoWidth = window.app.config.logoWidth;
|
||||
export const logoHeight = window.app.config.logoHeight;
|
||||
|
||||
export const slug = window.wiki.config.slug;
|
||||
export const repoID = window.wiki.config.repoId;
|
||||
export const serviceUrl = window.wiki.config.serviceUrl;
|
||||
export const initialFilePath = window.wiki.config.initial_file_path;
|
||||
if (window.wiki) {
|
||||
slug = window.wiki.config.slug;
|
||||
repoID = window.wiki.config.repoId;
|
||||
serviceUrl = window.wiki.config.serviceUrl;
|
||||
initialFilePath = window.wiki.config.initial_file_path;
|
||||
}
|
||||
|
||||
export { slug, repoID, serviceUrl, initialFilePath }
|
||||
|
Reference in New Issue
Block a user