11 lines
205 B
TypeScript
11 lines
205 B
TypeScript
class DynConfig {
|
|
public routes: Set<string> = new Set();
|
|
constructor() {}
|
|
addRoute(route: string) {
|
|
this.routes.add(route);
|
|
}
|
|
}
|
|
|
|
const dyn_config = new DynConfig();
|
|
export default dyn_config;
|