Skip to content

Commit

Permalink
fix: next version
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Oct 27, 2024
1 parent 8c0709d commit e8a92d3
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 34 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"mermaid": "11.3.0",
"nanoid": "^5.0.7",
"next": "14.2.8",
"next-auth": "4.24.10",
"next-auth": "4.24.7",
"next-runtime-env": "3.2.2",
"next-themes": "0.3.0",
"ofetch": "1.4.1",
Expand Down
36 changes: 18 additions & 18 deletions patches/next-auth.patch
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
diff --git a/client/_utils.js b/client/_utils.js
index 25bd573915c9bd9251ed6ce241889e0d6f13ba55..0c7e9e06fec0a9c00cd8e733d2222afb4b4d4670 100644
index de4e3c4eedfaffa561ff7ea80f109cbf3bb807e5..acdcdb9a9b0bc1082c158cc4c74ef3684fd6ddf7 100644
--- a/client/_utils.js
+++ b/client/_utils.js
@@ -45,6 +45,7 @@ function _fetchData() {
options.body = JSON.stringify(req.body);
options.method = "POST";
}
+ options.credentials = "include";
_context.next = 7;
return fetch(url, options);
case 7:
@@ -63,7 +64,7 @@ function _fetchData() {
case 16:
_context.prev = 16;
_context.t0 = _context["catch"](2);
- logger.error("CLIENT_FETCH_ERROR", {
+ console.error("CLIENT_FETCH_ERROR", {
error: _context.t0,
url: url
});
@@ -57,6 +57,7 @@ function _fetchData() {
options.method = "POST";
}

+ options.credentials = "include";
_context.next = 7;
return fetch(url, options);

@@ -81,7 +82,7 @@ function _fetchData() {
case 16:
_context.prev = 16;
_context.t0 = _context["catch"](2);
- logger.error("CLIENT_FETCH_ERROR", {
+ console.error("CLIENT_FETCH_ERROR", {
error: _context.t0,
url: url
});
25 changes: 11 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
],
"ignoreDeps": [
"jojoo",
"framer-motion"
"next"
]
}

0 comments on commit e8a92d3

Please sign in to comment.