update url for testing and add file extension
This commit is contained in:
parent
97709bb733
commit
440b79a8b5
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue