fix: adjust path variables in html
This commit is contained in:
parent
349723a770
commit
f7e861bc44
@ -31,7 +31,5 @@ fn dist(file: PathBuf) -> Option<(ContentType, Cow<'static, [u8]>)> {
|
|||||||
|
|
||||||
#[launch]
|
#[launch]
|
||||||
fn rocket() -> _ {
|
fn rocket() -> _ {
|
||||||
rocket::build()
|
rocket::build().mount("/", routes![index, dist])
|
||||||
// .mount("/", FileServer::from("static"))
|
|
||||||
.mount("/", routes![index, dist])
|
|
||||||
}
|
}
|
||||||
|
@ -5,11 +5,25 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="description" content="jabuxas' website" />
|
<meta name="description" content="jabuxas' website" />
|
||||||
<title>jabuxas' hub</title>
|
<title>jabuxas' hub</title>
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
<link
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
rel="apple-touch-icon"
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
sizes="180x180"
|
||||||
<link rel="manifest" href="/site.webmanifest" />
|
href="/dist/apple-touch-icon.png"
|
||||||
<link href="/style.css?version=1" rel="stylesheet" />
|
/>
|
||||||
|
<link
|
||||||
|
rel="icon"
|
||||||
|
type="image/png"
|
||||||
|
sizes="32x32"
|
||||||
|
href="/dist/favicon-32x32.png"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
rel="icon"
|
||||||
|
type="image/png"
|
||||||
|
sizes="16x16"
|
||||||
|
href="/dist/favicon-16x16.png"
|
||||||
|
/>
|
||||||
|
<link rel="manifest" href="/dist/site.webmanifest" />
|
||||||
|
<link href="/dist/style.css?version=1" rel="stylesheet" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -17,7 +31,7 @@
|
|||||||
<div class="top-level">
|
<div class="top-level">
|
||||||
<div>
|
<div>
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="./images/maybe.jpg" alt="jabuxas' icon" />
|
<img src="/dist/images/maybe.jpg" alt="jabuxas' icon" />
|
||||||
</div>
|
</div>
|
||||||
<h2>jabuxas</h2>
|
<h2>jabuxas</h2>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user