Añade nuevo proyecto para el sitio web de PageTop
This commit is contained in:
parent
57fd4c2054
commit
686ec924d1
14 changed files with 57 additions and 20 deletions
11
website/src/main.rs
Normal file
11
website/src/main.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
use pagetop::prelude::*;
|
||||
|
||||
struct PageTopWebSite;
|
||||
|
||||
impl AppTrait for PageTopWebSite {
|
||||
}
|
||||
|
||||
#[actix_web::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
Application::prepare(PageTopWebSite).await?.run()?.await
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue