This commit is contained in:
syuilo 2025-12-04 13:21:53 +09:00
parent ce64c8e864
commit 3aa25ac7cf
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ const _filename = fileURLToPath(import.meta.url);
const _dirname = dirname(_filename);
const configDir = resolve(_dirname, '../../../.config');
const OUTPUT_PATH = resolve(_dirname, '../../../built/.config.json');
const OUTPUT_PATH = resolve(_dirname, '../../../.config/.config.json');
// TODO: yamlのパースに失敗したときのエラーハンドリング

View File

@ -217,7 +217,7 @@ export type FulltextSearchProvider = 'sqlLike' | 'sqlPgroonga' | 'meilisearch';
const _filename = fileURLToPath(import.meta.url);
const _dirname = dirname(_filename);
export const compiledConfigFilePath = resolve(_dirname, '../../../built/.config.json');
export const compiledConfigFilePath = resolve(_dirname, '../../../.config/.config.json');
export function loadConfig(): Config {
if (!fs.existsSync(compiledConfigFilePath)) {