testThisExpressUrl
Express (deprecated)
v2
Fork
1
2
3
4
5
6
import
{
thisExpressURL
}
from
"https://esm.town/v/stevekrouse/thisExpressURL"
;
export
function
testThisExpressUrl
(
req
,
res
)
{
let
url
=
thisExpressURL
(
)
;
res
.
send
(
`<a href="
${
url
}
">
${
url
}
</a>`
)
;
}
Preview