mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
cookie communication
This commit is contained in:
parent
bac00de12b
commit
c1aecdf3a8
3 changed files with 32 additions and 7 deletions
|
@ -16,8 +16,7 @@ dbg.log("scrammin");
|
|||
if (!(ScramjetClient.SCRAMJET in self)) {
|
||||
const client = new ScramjetClient(self);
|
||||
|
||||
client.loadcookies(self.COOKIE);
|
||||
delete self.COOKIE;
|
||||
if (self.COOKIE) client.loadcookies(self.COOKIE);
|
||||
|
||||
client.hook();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue