GitHub

DAFF_TRUNCATE_FILE_EXTENSION_REGEX

Truncates the file extension from the end of the URI. Captures the truncated URI in the uri named group.

import { DAFF_TRUNCATE_FILE_EXTENSION_REGEX } from '@daffodil/core/routing'
const DAFF_TRUNCATE_FILE_EXTENSION_REGEX: RegExp