From 31295377a9d8c1a28d253adf05b9eaa5bdf573a1 Mon Sep 17 00:00:00 2001 From: MattIPv4 Date: Thu, 6 May 2021 15:28:25 +0100 Subject: [PATCH] Reduce the query param cut-off to 1000 chars --- src/nginxconfig/util/share_query.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nginxconfig/util/share_query.js b/src/nginxconfig/util/share_query.js index 4043ff4..3c1d099 100644 --- a/src/nginxconfig/util/share_query.js +++ b/src/nginxconfig/util/share_query.js @@ -30,5 +30,5 @@ import exportData from './export_data'; export default (domains, global) => { const data = exportData(domains, global); const query = qs.stringify(data, { allowDots: true }); - return `${query.length > 4000 ? '#' : ''}${query.length ? '?' : ''}${query}`; + return `${query.length > 1000 ? '#' : ''}${query.length ? '?' : ''}${query}`; };