Fix missing Router import in non-embed-ui block
All checks were successful
BotServer CI / build (push) Successful in 9m54s
All checks were successful
BotServer CI / build (push) Successful in 9m54s
This commit is contained in:
parent
35af28a041
commit
6cfbf013e2
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ use axum::{
|
|||
http::{header, Request, Response, StatusCode},
|
||||
Router,
|
||||
};
|
||||
#[cfg(not(feature = "embed-ui"))]
|
||||
use axum::Router;
|
||||
#[cfg(feature = "embed-ui")]
|
||||
use rust_embed::RustEmbed;
|
||||
#[cfg(feature = "embed-ui")]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue