去除图片

This commit is contained in:
lkhsss
2025-09-01 20:24:30 +08:00
parent f75591df3b
commit 6631bd2eb9
4 changed files with 1 additions and 75 deletions

View File

@ -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))