wip
This commit is contained in:
parent
ce64c8e864
commit
3aa25ac7cf
|
|
@ -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のパースに失敗したときのエラーハンドリング
|
||||
|
||||
|
|
|
|||
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue