pregenerate location names and fix location forwarding

This commit is contained in:
terraputix
2026-02-20 23:08:04 +01:00
parent 840bafded6
commit 4ed89d83a1
5 changed files with 33 additions and 14 deletions
+1 -7
View File
@@ -1,7 +1 @@
export function geoLocationNameToRoute(name: string): string {
// Placeholder implementation
return name
.toLowerCase()
.replace(/[^a-z0-9]+/g, '-')
.replace(/^-*|-*$/g, '');
}