Skip to main content

open_links

Function open_links 

Source
pub fn open_links(hints: &[Value], public_url: &str) -> Vec<OpenLink>
Expand description

The links of a run’s open hints. A hint is model-reachable data, so its URL is checked like untrusted input: only this server’s 3D viewer page of a file (relative, or under public_url) passes, as a relative path; anything else is dropped. Duplicates are shown once.