your hawk namespace maps directly to your url namespace beneath /~~
https://your-domain.com/~~/your/hawk/path/
note:
to enable relative paths in standard html <a>
tags,
hawk forces a trailing /
in the url.
one of the most annoying parts of trying to host clearweb content on urbit is that if someone goes the the website sampel-palnet.com
all they see is a log-in screen.
so i've made it possible for hawk to intercept requests to the root path (/
) and redirect them to the hawk root (/~~/
).
you make this change by running a dojo command.
|pass [%e %connect [~ /] %hawk]
you can still get to landscape by going to sampel-palnet.com/apps/landscape
you can still get to your login page by going to sampel-palnet.com/~/login
to revert back to the default (/ redirects to landscape) run this dojo command:
|pass [%e %connect [~ /] %docket]