Reopen advanced edits from their saved recipe, seed or take over the quick editor from them, refresh thumbnails after a save, and add an edited-only download. Also fixes the Lumenroom library collapsing to slivers on large shoots and documents deploying both containers on a new host. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
@@ -2,6 +2,7 @@ import { NextRequest } from "next/server";
|
||||
import { authenticateBridge } from "@/db/bridge";
|
||||
import {
|
||||
BRIDGE_SESSION_TTL_SECONDS,
|
||||
bridgeReturnUrl,
|
||||
signBridgeToken,
|
||||
} from "@/lib/bridge";
|
||||
import { errorResponse, jsonResponse } from "@/lib/http";
|
||||
@@ -36,5 +37,9 @@ export const POST = async (
|
||||
sessionId: auth.session.id,
|
||||
eventId: auth.session.eventId,
|
||||
expiresAt: auth.session.expiresAt,
|
||||
// Carried from the browser-facing request that opened the editor so the
|
||||
// editor can link back to the address the user actually reached.
|
||||
returnUrl:
|
||||
auth.payload.ret ?? bridgeReturnUrl(auth.session.eventId) ?? null,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user