Skip to main content

ui_host_ok

Function ui_host_ok 

Source
fn ui_host_ok(shape: &Shape, headers: &HeaderMap) -> bool
Expand description

Is the UI’s file asked for on an address this server serves? The files hold no secret, but a name that is not the server’s own (a DNS-rebinding page, a stray alias) gets nothing from it: the same rule as the sign-in and API routes.