Merge pull request #2737 from nxglabs/sync-to-public_repo-32459158600

Merge pull request #2736 from nxglabs/raktima-main-patch-security
This commit is contained in:
raktima-opensignlabs
2026-08-21 12:11:59 +00:00
parent a5456dadcf
commit 7e0c2517f2
10 changed files with 24 additions and 5 deletions
@@ -327,8 +327,8 @@ export default async function createBatchDocs(request) {
const Documents = JSON.parse(strDocuments);
const Ip = request?.headers?.['x-real-ip'] || '';
// Access the host from the headers
const publicUrl = request.headers.public_url;
// Use the browser origin so signing links keep the custom domain.
let publicUrl = request.headers.origin || request.headers.public_url;
const parseConfig = {
baseURL: serverUrl,
headers: {