chg: [outline] upd to 1.6.1

This commit is contained in:
default
2026-04-16 08:10:59 +00:00
parent e03f3e44aa
commit be4373a78f

View File

@@ -49,7 +49,7 @@ We use the official image with an added patch due to 2 bugs:
Note that a PR was pushed with a fix on the first bug. But this was not yet tested.
The fix are on 0.83.0
The fix are on 1.6.1
** Fix
@@ -64,14 +64,14 @@ The patches will change the "build/" files, so this is a very temporary and brit
#+begin_src bash
IMAGE=docker.0k.io/outline:0.83.0-elabore
IMAGE=docker.0k.io/outline:1.6.1-elabore
echo 'apt update && apt install patch' | dupd -u "$IMAGE" -- -u 0
cat <<'EOF1' | dupd -u "$IMAGE" -- -u 0
patch -p 1 <<'EOF2'
--- a/build/server/utils/passport.js.orig
+++ b/build/server/utils/passport.js
@@ -37,7 +37,7 @@
@@ -56,7 +56,7 @@
const state = buildState(host, token, client);
ctx.cookies.set(this.key, state, {
expires: (0, _dateFns.addMinutes)(new Date(), 10),
@@ -80,7 +80,7 @@ patch -p 1 <<'EOF2'
});
callback(null, token);
});
@@ -53,7 +53,7 @@
@@ -73,7 +73,7 @@
// Destroy the one-time pad token and ensure it matches
ctx.cookies.set(this.key, "", {
expires: (0, _dateFns.subMinutes)(new Date(), 1),