diff --git a/outline/README.org b/outline/README.org index 5cd091b..740418e 100644 --- a/outline/README.org +++ b/outline/README.org @@ -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),