1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-01 07:10:55 +00:00
seahub/frontend/src/components/constance.js
shanshuirenjia eab6c6fe61 repair wiki bug (#2344)
* repair wiki bug

* optimized code

* optimized code
2018-09-05 17:44:14 +08:00

17 lines
738 B
JavaScript

export const dirPath = '/';
export const gettext = window.gettext;
export const siteRoot = window.app.config.siteRoot;
export const avatarInfo = window.app.config.avatarInfo;
export const logoPath = window.app.config.logoPath;
export const mediaUrl = window.app.config.mediaUrl;
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;
export const permission = window.wiki.config.permission