Skip to content

Commit 41e8ab0

Browse files
committed
Revert "remove unused feature function"
This reverts commit cfe0788.
1 parent cfe0788 commit 41e8ab0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

apps/webapp/app/features.server.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@ export function featuresForRequest(request: Request): TriggerFeatures {
2929

3030
return featuresForHost(url.host);
3131
}
32+
33+
export function featuresForUrl(urlString: string): TriggerFeatures {
34+
const url = new URL(urlString);
35+
36+
return featuresForHost(url.host);
37+
}

0 commit comments

Comments
 (0)