Compare commits

..

No commits in common. "89da07ad9217d75bed41b1baaaac86248de800ff" and "b16fbc9d78a87e773bd6da29fb1d6b9efaec6078" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -145,8 +145,7 @@ async fn main() -> std::io::Result<()> {
let app = App::new()
.data(InstanceSettings::default())
.wrap(logger)
.wrap(middleware::NormalizePath::new(TrailingSlash::Trim))
.service(create_link);
.wrap(middleware::NormalizePath::new(TrailingSlash::Trim));
#[cfg(feature = "ogp_images")]
let app = app
@ -158,6 +157,7 @@ async fn main() -> std::io::Result<()> {
.service(resource("/") .to(handle_basic_request))
.service(resource("/{prefs}") .to(handle_basic_request))
.service(resource("/{name}/{prefs}").to(handle_basic_request))
.service(create_link)
.default_service(web::to(not_found))
})
.bind("0.0.0.0:8080")?

View File

@ -39,7 +39,7 @@
Whoever linked you to this page{% endif %} would like you to try {{ pronoun.render_threeform() }} pronouns for
{{ pronoun.object_pronoun }} today.</p>
<h3>Here are some example sentences using my {{pronoun.subject_pronoun}}/{{pronoun.object_pronoun}} pronouns:</h3>
<h3>Here are some example sentences using my she/her pronouns:</h3>
<p>{{ pronoun.subject_pronoun | capitalize }} walked the dog.</p>