fix: import path and dev server using tsc and nodemon

This commit is contained in:
wancat committed 2024-02-29 00:04:09 +08:00
1 parent ea33434bea
commit 48dbac7907
16 files changed
+34 -28

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { questList } from '../models/quests.ts'
import { questList } from '../models/quests.js'
// eslint-disable-next-line import/prefer-default-export
export async function questListController(req: any, res: any) {
const quests = await questList()