Skip to main content

get_cors_origins

Function get_cors_origins 

Source
fn get_cors_origins() -> &'static str
Expand description

Get the appropriate Access-Control-Allow-Origin header for the current platform

Tauri uses different origins for custom URI schemes on different platforms:

Returns a comma-separated list of origins to support all platforms.