fix import

This commit is contained in:
syuilo 2021-08-19 21:57:36 +09:00
parent 42cc93dd0f
commit 6d881d4570

View File

@ -24,7 +24,7 @@ import { parseAcct } from '@/misc/acct';
import { getNoteSummary } from '@/misc/get-note-summary'; import { getNoteSummary } from '@/misc/get-note-summary';
import { getConnection } from 'typeorm'; import { getConnection } from 'typeorm';
import { redisClient } from '../../db/redis'; import { redisClient } from '../../db/redis';
import locales from '../../../locales/index'; import * as locales from '../../../locales/index';
//const _filename = fileURLToPath(import.meta.url); //const _filename = fileURLToPath(import.meta.url);
const _filename = __filename; const _filename = __filename;