mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-24 13:11:24 +03:00
Перенес файлы в общую папку
This commit is contained in:
parent
b9a45b69b4
commit
7c835e145a
14 changed files with 7 additions and 9 deletions
|
@ -1,13 +0,0 @@
|
|||
const fs = require('fs');
|
||||
const yaml = require('yaml');
|
||||
|
||||
const config = () => {
|
||||
try {
|
||||
fs.readFileSync('../config.yaml', 'utf-8');
|
||||
} catch { return }
|
||||
|
||||
return yaml.parse(fs.readFileSync('../config.yaml', 'utf-8'));
|
||||
}
|
||||
|
||||
|
||||
module.exports = config;
|
Loading…
Add table
Reference in a new issue