You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to serve index.html when / is opened? I care because a relative URL to salad.html from /potato/index.html leads to /potato/salad.html. If I serve my page at /potato/, it'll point to /salad.html instead.
The text was updated successfully, but these errors were encountered:
Why a link to salad.html (when at /potato/index.html) leads to /potato/salad.html
For the former, you should just need to provide a page handler for /index.html; clients will usually try that by default if / doesn't go anywhere.
For the latter, this is expected behavior to my understanding. That is a relative link, so it'll stay within the same location in the tree. If you want to go to /salad.html when further down the tree, you need to specify that exactly.
Is there any way to serve
index.html
when/
is opened? I care because a relative URL tosalad.html
from/potato/index.html
leads to/potato/salad.html
. If I serve my page at/potato/
, it'll point to/salad.html
instead.The text was updated successfully, but these errors were encountered: