GitHub

DAFF_TRUNCATE_FILE_EXTENSION_REGEX

import { DAFF_TRUNCATE_FILE_EXTENSION_REGEX } from '@daffodil/core/routing'

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