1 parent e31ac2b commit 1570f3aCopy full SHA for 1570f3a
1 file changed
src/routes/(theme)/theme-api/licenses.json/+server.js
@@ -6,7 +6,7 @@ export async function GET() {
6
let filePath = path.resolve(`licenses.json`);
7
8
if (!fs.existsSync(filePath)) {
9
- filePath = path.resolve(path.dirname(process.argv[1]) + `licenses.json`);
+ filePath = path.resolve(path.dirname(process.argv[1]) + `/licenses.json`);
10
}
11
12
if (fs.existsSync(filePath)) {
0 commit comments