Skip to content

v0.5.9

Latest

Choose a tag to compare

@bensynapse bensynapse released this 18 Nov 21:22
· 1 commit to main since this release
ed76c71

The server drops the trailing slashes of the API base URL and of the dashboard URL with a scan instead of the regex /\/+$/.
The regex took quadratic time when a long run of slashes did not end the URL: 24 s for 100,000 slashes on Node 22.
The base URL comes from FAXFORAGENTS_API_URL, so only the person who sets it could reach that path.
The tools, their schemas, the resources and the prompts did not change. test/base-url.mjs checks the trim and its time.