Skip to content

Commit 2fedbfb

Browse files
update routes on backend (#132)
* update routes on backend * fix paths --------- Co-authored-by: Maciej Wójcik <maciek@wjck.pl>
1 parent 527d24a commit 2fedbfb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/http.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ pub async fn run_server(config: Config) -> anyhow::Result<()> {
208208
let mut app = Router::new()
209209
.route("/", get(index))
210210
.route("/*path", get(index))
211+
.route("/fonts/*path", get(web_asset))
211212
.route("/assets/*path", get(web_asset))
212213
.route("/svg/*path", get(svg))
213214
.nest(

0 commit comments

Comments
 (0)