Skip to content

Commit 1570f3a

Browse files
committed
fix: fixed not getting correctly licenses.json - attempt 2
1 parent e31ac2b commit 1570f3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/routes/(theme)/theme-api/licenses.json

src/routes/(theme)/theme-api/licenses.json/+server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export async function GET() {
66
let filePath = path.resolve(`licenses.json`);
77

88
if (!fs.existsSync(filePath)) {
9-
filePath = path.resolve(path.dirname(process.argv[1]) + `licenses.json`);
9+
filePath = path.resolve(path.dirname(process.argv[1]) + `/licenses.json`);
1010
}
1111

1212
if (fs.existsSync(filePath)) {

0 commit comments

Comments
 (0)