Split router out into its own library

This commit is contained in:
Jon Staab
2025-04-23 13:34:04 -07:00
parent 489a307a47
commit 2996e25359
42 changed files with 604 additions and 295 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export const isRelayUrl = (url: string) => {
if (url.match(/\\.*\./)) return false
// Skip non-localhost urls without a dot
if (!url.match(/\./) && !url.includes('localhost')) return false
if (!url.match(/\./) && !url.includes("localhost")) return false
try {
new URL(url)