Fatal broke (refactor)
This commit is contained in:
		| @ -92,7 +92,7 @@ type DBPool = Arc<Pool<ConnectionMgrTcp>>; | ||||
| type FullBytes = Result<Response<Full<Bytes>>>; | ||||
|  | ||||
|  | ||||
| pub async fn uri_login(req: Request<Incoming>, pool: DBPool, headers: &mut HeaderMap) -> Result<(String, StatusCode, HeaderValue)> { | ||||
| pub async fn login(req: Request<Incoming>, pool: DBPool, headers: &mut HeaderMap) -> Result<(String, StatusCode, HeaderValue)> { | ||||
| 	let mut body = build_html(LOGIN_HTML); | ||||
| 	let mut status = StatusCode::OK; | ||||
| 	let restype: HeaderValue = "text/html".parse().unwrap(); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user