really silly question but:
-
really silly question but:
if I have a page at
/foo/bar
and that page has a link withhref="baz/quux"
, why am I getting the final href as/foo/baz/quux
???? wth -
Damien (friend of eggbug)replied to Kat Marchán 🐈 last edited by
@zkat do you have a `<base>` element and if so what's its value? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
-
Kat Marchán 🐈replied to Damien (friend of eggbug) last edited by
@eramdam I do not. I'm wondering if it has to do with the fact that the current pathname doesn't have a trailing
/
... -
@zkat
Yes, that’s the reason.
Copyright © 2024 NodeBB | Contributors