TASK22269: normalize document hash-suffix route composition

This commit is contained in:
2026-03-25 14:13:53 +00:00
parent 4e964ad1ad
commit 1b7e6009aa
5 changed files with 55 additions and 7 deletions
+4
View File
@@ -31,3 +31,7 @@ export const withBaseUrl = (baseUrl, route) => {
export const appendQuerySuffix = (route, suffix = "") => {
return `${route}${suffix}`;
};
export const appendHashSuffix = (route, hashBuilder) => {
return appendQuerySuffix(route, hashBuilder(route));
};