Line 37 in
lib/nbi.ts
Change:
const PRESETS_REGEX = /^/presets/([a-zA-Z0-9-_%]+)/?$/;
To:
const PRESETS_REGEX = /^/presets/([a-zA-Z0-9.-_%]+)/?$/;
If the regular expression is changed as above, it will be possible to have periods in names.
Line 37 in
lib/nbi.ts
Change:
const PRESETS_REGEX = /^/presets/([a-zA-Z0-9-_%]+)/?$/;
To:
const PRESETS_REGEX = /^/presets/([a-zA-Z0-9.-_%]+)/?$/;
If the regular expression is changed as above, it will be possible to have periods in names.