Merge tag '0.2.7' into develop
no message
This commit is contained in:
commit
5a18706160
@ -73,7 +73,13 @@ fn main() {
|
||||
.service(routers::admin::admin_login)
|
||||
.service(routers::admin::admin_authentication)
|
||||
.service(routers::admin::article_creation)
|
||||
.service(routers::admin::article_save)
|
||||
.service(
|
||||
web::resource("/article").route(
|
||||
web::post()
|
||||
.data(web::FormConfig::default().limit(256_000))
|
||||
.to(routers::admin::article_save),
|
||||
),
|
||||
)
|
||||
.service(routers::admin::article_edit)
|
||||
.service(routers::admin::article_deletion)
|
||||
.service(routers::admin::change_password)
|
||||
|
@ -129,7 +129,6 @@ pub fn article_edit(
|
||||
}
|
||||
}
|
||||
|
||||
#[post("/article")]
|
||||
pub fn article_save(
|
||||
id: Identity,
|
||||
article: Form<NewArticle>,
|
||||
|
@ -14,7 +14,7 @@
|
||||
<footer>
|
||||
<section class="container">
|
||||
<p> 自豪地使用 <a href="https://github.com/Kilerd/rubble">Project Rubble</a> 运行。 </p>
|
||||
<div style="display:none">{{ setting.analysis }}</div>
|
||||
<div style="display:none">{{ setting.analysis | safe }}</div>
|
||||
</section>
|
||||
</footer>
|
||||
<script src="/statics/prism.js" type="text/javascript"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user