fedimbed: fix path resolving wrong
This commit is contained in:
parent
9af670dbeb
commit
2ba594d447
1 changed files with 3 additions and 1 deletions
|
@ -68,7 +68,9 @@ async function resolvePlatform(url) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const keyId = "https://hf.c7.pm/action#main-key";
|
const keyId = "https://hf.c7.pm/action#main-key";
|
||||||
const privKey = fs.readFileSync(path.resolve("../../priv/private.pem"));
|
const privKey = fs.readFileSync(
|
||||||
|
path.resolve(__dirname, "../../priv/private.pem")
|
||||||
|
);
|
||||||
async function signedFetch(url, options) {
|
async function signedFetch(url, options) {
|
||||||
const urlObj = new URL(url);
|
const urlObj = new URL(url);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue