fix(asset): fix asset basepath
This commit is contained in:
+1
-1
@@ -5,5 +5,5 @@ const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
export default (name: string): string => {
|
||||
return path.join(__dirname, "..", "assets", name);
|
||||
return path.join(__dirname, "assets", name);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user