Bugfixes
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
<link data-trunk rel="rust" data-bin="bin" />
|
||||
<link data-trunk rel="scss" href="src/styles/main.scss" />
|
||||
<link data-trunk rel="icon" href="src/assets/favicon.ico" type="image/x-icon" />
|
||||
<link data-trunk rel="copy-dir" href="src/assets" />
|
||||
<link data-trunk rel="copy-dir" href="src/assets" data-target-path="assets" />
|
||||
<meta charset="utf-8" />
|
||||
<title>Yew App</title>
|
||||
</head>
|
||||
|
||||
@@ -136,6 +136,6 @@ pub fn denied_component() -> Html {
|
||||
#[component(Icon)]
|
||||
pub fn icon_component() -> Html {
|
||||
html! {
|
||||
<img src="assets/csg.png" class="csg-icon" />
|
||||
<img src="/assets/csg.png" class="csg-icon" />
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user