fix: routes import error in node 20
This commit is contained in:
parent
d35c47e444
commit
0ae5f09b1f
|
|
@ -11,7 +11,7 @@ type Root = {
|
|||
};
|
||||
|
||||
const imports = directoryImport({
|
||||
targetDirectoryPath: './v2',
|
||||
targetDirectoryPath: path.join(__dirname, './v2'),
|
||||
importPattern: /router\.js$/,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue