Fix Hurst fetch URL to use full API_BASE_URL and ensure endpoint returns JSON for all query params

This commit is contained in:
DiTus
2026-03-18 22:37:42 +01:00
parent 8bb61e014d
commit 79802aa173
1147 changed files with 141293 additions and 14 deletions

8
node_modules/has-flag/index.js generated vendored Normal file
View File

@ -0,0 +1,8 @@
'use strict';
module.exports = (flag, argv = process.argv) => {
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
const position = argv.indexOf(prefix + flag);
const terminatorPosition = argv.indexOf('--');
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
};