Added ability to add page, but hangs in main.

This commit is contained in:
2025-05-01 13:46:46 -04:00
parent 1bfbfc5e44
commit 4fbbd30c4b
6 changed files with 131 additions and 24 deletions

View File

@ -112,6 +112,7 @@ async fn mtt_conn(
#[cfg(test)]
mod servers {
use super::*;
use std::time::Duration;
use axum::{
body::Body,
http::{
@ -195,7 +196,7 @@ mod servers {
//#[tokio::test]
async fn add_new_page() {
let base = "/something".to_string();
let api = "/api".to_owned() + &base;
let api = format!("/api{}", &base);
let app = create_app(MoreThanText::new()).await;
let response = app
.clone()