feat(config): remove unused vars
This commit is contained in:
parent
33b895b75e
commit
97804e7b4d
2 changed files with 0 additions and 4 deletions
|
|
@ -6,7 +6,6 @@ const configFileName = 'config.toml';
|
|||
|
||||
interface Config {
|
||||
GENERAL: {
|
||||
PORT: number;
|
||||
SIMILARITY_MEASURE: string;
|
||||
KEEP_ALIVE: string;
|
||||
};
|
||||
|
|
@ -46,8 +45,6 @@ const loadConfig = () =>
|
|||
fs.readFileSync(path.join(process.cwd(), `${configFileName}`), 'utf-8'),
|
||||
) as any as Config;
|
||||
|
||||
export const getPort = () => loadConfig().GENERAL.PORT;
|
||||
|
||||
export const getSimilarityMeasure = () =>
|
||||
loadConfig().GENERAL.SIMILARITY_MEASURE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue