copy url button

This commit is contained in:
zoe 2022-01-30 12:47:53 +01:00
parent 26e962e77f
commit cdf392a232
3 changed files with 3 additions and 5 deletions

View File

@ -23,7 +23,7 @@ struct Args {
// Port number for server
#[clap(short, long, default_value_t = 8000)]
port: u16,
#[clap(short, long, default_value = "localhost")]
#[clap(short, long, default_value = "http://127.0.0.1:8000")]
base_url: String,
}

View File

@ -2,8 +2,6 @@ use std::collections::HashMap;
use rocket_dyn_templates::Template;
use clap::Parser;
lazy_static! {
static ref ARGS: Args = Args::parse();
}
@ -11,7 +9,7 @@ lazy_static! {
#[derive(Parser, Debug)]
#[clap(about, version, author)]
struct Args {
#[clap(short, long, default_value = "localhost")]
#[clap(short, long, default_value = "http://127.0.0.1:8000")]
base_url: String,
}

View File

@ -58,7 +58,7 @@ footer {
flex-direction: column;
align-items: center;
align-self: center;
height: 90%;
min-height: 80%;
justify-content: center;
}