Skip to main content

own_origins

Function own_origins 

Source
fn own_origins(server: &ServerConfig) -> Vec<String>
Expand description

The origins the server itself is reached at, from [server] bind and [server] port. No port is hardcoded: a web client served from the server’s own address is the one origin the config knows.