12 lines
269 B
TypeScript
12 lines
269 B
TypeScript
import { ProxyConfig } from '../types/config';
|
|
|
|
let serverConfig: ProxyConfig | null = null;
|
|
|
|
export function setServerConfig(config: ProxyConfig) {
|
|
serverConfig = config;
|
|
}
|
|
|
|
export function getServerConfig(): ProxyConfig | null {
|
|
return serverConfig;
|
|
}
|