moving the webserver out of the library

This commit is contained in:
2021-08-12 15:48:02 +02:00
committed by dietrich
parent 9bb6001adf
commit b08c1a3fc2
7 changed files with 537 additions and 435 deletions
+2 -2
View File
@@ -295,7 +295,7 @@ impl<'a> Urls<'a> {
///
/// # Example
///
/// ```rust,no_run
/// ```ignore
/// Urls::new(base_url).home()
/// ```
pub fn new(base_url: impl Into<std::borrow::Cow<'a, Url>>) -> Self {
@@ -308,7 +308,7 @@ impl<'a> Urls<'a> {
///
/// # Example
///
/// ```rust,no_run
/// ```ignore
/// pub fn admin_urls(self) -> page::admin::Urls<'a> {
/// page::admin::Urls::new(self.base_url().add_path_part(ADMIN))
/// }