mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-01 14:57:14 +08:00
fix: routes import error in node 20
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ type Root = {
|
||||
};
|
||||
|
||||
const imports = directoryImport({
|
||||
targetDirectoryPath: './v2',
|
||||
targetDirectoryPath: path.join(__dirname, './v2'),
|
||||
importPattern: /router\.js$/,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user