Do not append a second slash when no public path is set
This commit is contained in:
parent
a404f9a997
commit
cfd494f80d
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ pub struct Args {
|
|||
#[clap(long, env="MICROBIN_PURE_HTML")]
|
||||
pub pure_html: bool,
|
||||
|
||||
#[clap(long, env="MICROBIN_PUBLIC_PATH", default_value_t = PublicUrl(String::from("/")))]
|
||||
#[clap(long, env="MICROBIN_PUBLIC_PATH", default_value_t = PublicUrl(String::from("")))]
|
||||
pub public_path: PublicUrl,
|
||||
|
||||
#[clap(long, env="MICROBIN_READONLY")]
|
||||
|
|
Loading…
Reference in a new issue