Skip to main content

api_base

Function api_base 

Source
pub fn api_base() -> String
Expand description

Read the configured API base path. Returns “/api” until set_api_base runs. Trailing slashes are not normalized here — callers append “/auth” etc. directly, and the REST plugin publishes its own normalized base.