Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Linen-dev/linen.dev
/ cleanLinenHost
Function
cleanLinenHost
apps/web/utilities/middlewareHelper.ts:39–40 ·
view source on GitHub ↗
(hostname: string)
Source
from the content-addressed store, hash-verified
37
}
38
39
const
cleanLinenHost = (hostname: string) =>
40
hostname.indexOf(
'linen.dev'
) > -1 ?
'www.linen.dev'
: hostname;
41
42
export
function
rewrite({
43
hostname,
Callers
1
rewrite
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected