pub fn set_routes(routes: Vec<(String, String)>)
Tell the script tier what the document’s named routes are. Replaces the previous set, since a reload may have changed them.