mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
feat(config): Allow config to be edited without rebuild
This commit is contained in:
1 parent
1a3d02f1e3
commit
a880ae66ea
9 files changed
+19
-11
No files matched your search
@@ -1,4 +1,10 @@
|
||||
import { Server } from 'esx.js';
|
||||
import { IServerConfig } from '../../typings/config';
|
||||
|
||||
// Setup and export config loaded at runtime
|
||||
export const config: IServerConfig = JSON.parse(
|
||||
LoadResourceFile(GetCurrentResourceName(), 'config.json'),
|
||||
);
|
||||
|
||||
import './db';
|
||||
import './sv_twitter';
|
||||
|
||||
Reference in new issue
Block a user