From 440b79a8b57913abf4441d2541d0fda28b51f226 Mon Sep 17 00:00:00 2001 From: Bit Borealis Date: Fri, 12 Aug 2022 01:47:01 +0000 Subject: [PATCH] update url for testing and add file extension --- src/parse.js | 6 +++--- src/parse.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/parse.js b/src/parse.js index afdb106..686105a 100644 --- a/src/parse.js +++ b/src/parse.js @@ -1,7 +1,7 @@ -var baseUrl = "https://0x0.st"; -var id = "a0eiaje"; // < unicode > +var baseUrl = "https://envs.sh"; +var id = "QnK"; // < unicode > var key = "LhBRttf+oI/PNHyTBrPa7HGDK/uC9fcMkGGgz63zT4Y="; // 32 bytes b64 -var completeUrl = baseUrl + "/" + id + "#" + key; +var completeUrl = baseUrl + "/" + id + ".bin#" + key; console.log(completeUrl); var urlObj = new URL(completeUrl); /** will return a tuple of the key and id if valid diff --git a/src/parse.ts b/src/parse.ts index dfa1150..a0f4af4 100644 --- a/src/parse.ts +++ b/src/parse.ts @@ -1,7 +1,7 @@ -const baseUrl: string = "https://0x0.st" -const id: string = "a0eiaje" // < unicode > +const baseUrl: string = "https://envs.sh" +const id: string = "QnK" // < unicode > const key: string = "LhBRttf+oI/PNHyTBrPa7HGDK/uC9fcMkGGgz63zT4Y=" // 32 bytes b64 -const completeUrl: string = baseUrl + "/" + id + "#" + key +const completeUrl: string = baseUrl + "/" + id + ".bin#" + key console.log(completeUrl); const urlObj:URL = new URL(completeUrl);