Compare commits

...

2 Commits

2 changed files with 3 additions and 3 deletions

View File

@ -145,7 +145,8 @@ async fn main() -> std::io::Result<()> {
let app = App::new()
.data(InstanceSettings::default())
.wrap(logger)
.wrap(middleware::NormalizePath::new(TrailingSlash::Trim));
.wrap(middleware::NormalizePath::new(TrailingSlash::Trim))
.service(create_link);
#[cfg(feature = "ogp_images")]
let app = app
@ -157,7 +158,6 @@ 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 she/her pronouns:</h3>
<h3>Here are some example sentences using my {{pronoun.subject_pronoun}}/{{pronoun.object_pronoun}} pronouns:</h3>
<p>{{ pronoun.subject_pronoun | capitalize }} walked the dog.</p>