fix import

This commit is contained in:
syuilo 2021-08-19 21:57:36 +09:00
parent aaef4f50e0
commit f3e8331023

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;