feat(app): revert port & network changes

This commit is contained in:
ItzCrazyKns
2024-05-13 19:58:17 +05:30
parent 100872f2d9
commit 0993c5a760
6 changed files with 12 additions and 21 deletions

View File

@ -7,7 +7,6 @@ const configFileName = 'config.toml';
interface Config {
GENERAL: {
PORT: number;
BIND_ADDRESS: string;
SIMILARITY_MEASURE: string;
};
API_KEYS: {
@ -31,8 +30,6 @@ const loadConfig = () =>
export const getPort = () => loadConfig().GENERAL.PORT;
export const getBindAddress = () => loadConfig().GENERAL.BIND_ADDRESS;
export const getSimilarityMeasure = () =>
loadConfig().GENERAL.SIMILARITY_MEASURE;