sst 2.26.1 → 3.0.0
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/constructs/App.js +0 -1
- package/node/future/auth/session.js +2 -1
- package/package.json +1 -1
package/constructs/App.js
CHANGED
|
@@ -7,7 +7,8 @@ import { useContextType } from "../../../context/handler.js";
|
|
|
7
7
|
const SessionMemo = /* @__PURE__ */ Context.memo(() => {
|
|
8
8
|
// Get the context type and hooks that match that type
|
|
9
9
|
let token = "";
|
|
10
|
-
|
|
10
|
+
// Websockets don't lowercase headers
|
|
11
|
+
const header = useHeader("authorization") || useHeader("Authorization");
|
|
11
12
|
if (header)
|
|
12
13
|
token = header.substring(7);
|
|
13
14
|
const ctxType = useContextType();
|