mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-07 18:38:42 +00:00
feat(app): revert port & network changes
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user