⭐ Moe-Counter Compatible Website Hit Counter Written in Gleam mayu.due.moe
hit-counter svg moe

format(request): Reformat under latest Gleam formatting guidelines

fuwn.net 2c3983a7 a14e4106

verified
+8 -6
+8 -6
src/request.gleam
··· 28 28 Ok(content) -> 29 29 wisp.html_response( 30 30 string_builder.from_string( 31 - string.replace(content, "{{ MAYU_VERSION }}", case 32 - envoy.get("MAYU_VERSION") 33 - { 34 - Ok(version) -> "(v" <> version <> ")" 35 - Error(_) -> "" 36 - }), 31 + string.replace( 32 + content, 33 + "{{ MAYU_VERSION }}", 34 + case envoy.get("MAYU_VERSION") { 35 + Ok(version) -> "(v" <> version <> ")" 36 + Error(_) -> "" 37 + }, 38 + ), 37 39 ), 38 40 200, 39 41 )