1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 00:43:53 +00:00

Rewrite wiki page with react (#2258)

This commit is contained in:
Daniel Pan
2018-08-06 18:29:12 +08:00
committed by GitHub
parent ee8e4135ea
commit fa38dd9151
36 changed files with 2810 additions and 408 deletions

View File

@@ -0,0 +1,14 @@
export const dirPath = '/';
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;