Skip to main content

ENV_API_TOKENS

Constant ENV_API_TOKENS 

Source
pub const ENV_API_TOKENS: &str = "TENSOR_WASM_API_TOKENS";
Expand description

Environment variable carrying a comma-separated allowlist of bearer tokens accepted by bearer_auth. Empty / unset = dev mode pass-through (but only when ENV_ALLOW_DEV_MODE explicitly opts in — see below).