mirror of
https://github.com/crystelf/crystelf-admin.git
synced 2025-12-05 13:41:57 +00:00
fix:更正部分path
This commit is contained in:
parent
afb42e5f87
commit
fd6c7b4806
@ -13,16 +13,16 @@ const Path = {
|
|||||||
components: path.join(rootDir, 'components'),
|
components: path.join(rootDir, 'components'),
|
||||||
defaultConfig: path.join(rootDir, 'config/config.json'),
|
defaultConfig: path.join(rootDir, 'config/config.json'),
|
||||||
defaultConfigPath: path.join(rootDir, 'config'),
|
defaultConfigPath: path.join(rootDir, 'config'),
|
||||||
config: path.resolve(rootDir, '../../data/crystelf'),
|
config: path.resolve(rootDir, '../../data/crystelfadmin'),
|
||||||
constants: path.join(rootDir, 'constants'),
|
constants: path.join(rootDir, 'constants'),
|
||||||
lib: path.join(rootDir, 'lib'),
|
lib: path.join(rootDir, 'lib'),
|
||||||
models: path.join(rootDir, 'models'),
|
models: path.join(rootDir, 'models'),
|
||||||
index: path.join(rootDir, 'index.js'),
|
index: path.join(rootDir, 'index.js'),
|
||||||
pkg: path.join(rootDir, 'package.json'),
|
pkg: path.join(rootDir, 'package.json'),
|
||||||
yunzai: path.join(rootDir, '../../'),
|
yunzai: path.join(rootDir, '../../'),
|
||||||
data: path.join(rootDir, '../../data/crystelf/data'),
|
data: path.join(rootDir, '../../data/crystelfadmin/data'),
|
||||||
rssHTML: path.join(rootDir, 'constants/rss/rss_template.html'),
|
rssHTML: path.join(rootDir, 'constants/rss/rss_template.html'),
|
||||||
rssCache: path.join(rootDir, '../../data/crystelf'),
|
rssCache: path.join(rootDir, '../../data/crystelfadmin'),
|
||||||
};
|
};
|
||||||
|
|
||||||
const configFile = fs.readFileSync(Path.defaultConfig, 'utf8');
|
const configFile = fs.readFileSync(Path.defaultConfig, 'utf8');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user