去除图片
This commit is contained in:
@ -4,7 +4,6 @@ use axum::{Router, extract::State, response::Html, routing::get};
|
||||
|
||||
use num_bigint::{self, ToBigUint};
|
||||
use sled::Db;
|
||||
use tower_http::services::fs::ServeFile;
|
||||
|
||||
const INDEX: &str = include_str!("../index.html");
|
||||
|
||||
@ -31,7 +30,6 @@ async fn main() {
|
||||
.route("/", get(index))
|
||||
.route("/c", get(count))
|
||||
.route("/a", get(add))
|
||||
.route_service("/img", ServeFile::new("./icon.jpg"))
|
||||
.with_state(arc_db);
|
||||
|
||||
let listener = tokio::net::TcpListener::bind(format!("0.0.0.0:{}", 1145))
|
||||
|
||||
Reference in New Issue
Block a user