Skip to content

Commit

Permalink
Update cookie-parser.js
Browse files Browse the repository at this point in the history
  • Loading branch information
caracal-js authored Jul 30, 2021
1 parent 4e2da52 commit d545065
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lib/cookie-parser.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// -------------------
// This file is shared both by the server and client.
// Do not include any browser or node specific APIs
// -------------------

// -------------------------------------------------------------
// WARNING: this file is used by both the client and the server.
// Do not use any browser or node-specific API!
// -------------------------------------------------------------
class CookieStore {
constructor(val = ''){
this.data = {};
Expand Down Expand Up @@ -92,4 +91,4 @@ class SetCookie {
};

exports.CookieStore = CookieStore;
exports.SetCookie = SetCookie;
exports.SetCookie = SetCookie;

0 comments on commit d545065

Please sign in to comment.