Skip to main content

parse_public_site_origin_entries

Function parse_public_site_origin_entries 

Source
pub fn parse_public_site_origin_entries(value: &str) -> Result<Vec<String>>
Expand description

Parses a JSON array of public site origins.

Empty input is rejected because a public-site URL configuration value should either be absent at the product layer or contain an explicit JSON array. Empty strings inside the array are ignored so operators can clean up accidental blank entries without blocking the whole value.