mirror of
https://github.com/ajnart/homarr.git
synced 2026-03-17 01:30:33 +01:00
8 lines
203 B
TypeScript
8 lines
203 B
TypeScript
import fs from 'fs';
|
|
import { generateConfigPath } from './generateConfigPath';
|
|
|
|
export const configExists = (name: string) => {
|
|
const path = generateConfigPath(name);
|
|
return fs.existsSync(path);
|
|
};
|