mirror of
https://git.kittycat.homes/zoe/reversi.git
synced 2024-08-15 03:27:19 +00:00
copy url button
This commit is contained in:
parent
26e962e77f
commit
cdf392a232
3 changed files with 3 additions and 5 deletions
|
@ -23,7 +23,7 @@ struct Args {
|
||||||
// Port number for server
|
// Port number for server
|
||||||
#[clap(short, long, default_value_t = 8000)]
|
#[clap(short, long, default_value_t = 8000)]
|
||||||
port: u16,
|
port: u16,
|
||||||
#[clap(short, long, default_value = "localhost")]
|
#[clap(short, long, default_value = "http://127.0.0.1:8000")]
|
||||||
base_url: String,
|
base_url: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,6 @@ use std::collections::HashMap;
|
||||||
use rocket_dyn_templates::Template;
|
use rocket_dyn_templates::Template;
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref ARGS: Args = Args::parse();
|
static ref ARGS: Args = Args::parse();
|
||||||
}
|
}
|
||||||
|
@ -11,7 +9,7 @@ lazy_static! {
|
||||||
#[derive(Parser, Debug)]
|
#[derive(Parser, Debug)]
|
||||||
#[clap(about, version, author)]
|
#[clap(about, version, author)]
|
||||||
struct Args {
|
struct Args {
|
||||||
#[clap(short, long, default_value = "localhost")]
|
#[clap(short, long, default_value = "http://127.0.0.1:8000")]
|
||||||
base_url: String,
|
base_url: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ footer {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
height: 90%;
|
min-height: 80%;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue