Bugfix: AJAX_TOKEN with document.currentScript
This commit is contained in:
parent
ea5be6d383
commit
4f65434628
3 changed files with 2 additions and 1 deletions
1
python_aternos/data/package-lock.json
generated
1
python_aternos/data/package-lock.json
generated
|
@ -4,7 +4,6 @@
|
|||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "data",
|
||||
"dependencies": {
|
||||
"vm2": "^3.9.13"
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@ const vm = new VM({
|
|||
document: {
|
||||
getElementById: (_i) => {},
|
||||
doctype: {},
|
||||
currentScript: {},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
Reference in a new issue