MCPcopy Create free account
hub / github.com/acking-you/static_flow / admin_base

Function admin_base

crates/frontend/src/api.rs:2173–2178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2171
2172#[cfg(any(not(feature = "mock"), test))]
2173fn admin_base() -> String {
2174 API_BASE
2175 .strip_suffix("/api")
2176 .map(str::to_string)
2177 .unwrap_or_else(|| API_BASE.to_string())
2178}
2179
2180fn default_admin_gpt2api_rs_proxy_mode() -> String {
2181 "inherit".to_string()

Calls

no outgoing calls

Tested by

no test coverage detected