Reduce the query param cut-off to 1000 chars

pull/259/head
MattIPv4 2021-05-06 15:28:25 +01:00
parent 47371a1216
commit 31295377a9
1 changed files with 1 additions and 1 deletions

View File

@ -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}`;
};