diff options
| author | Fuwn <[email protected]> | 2025-05-12 04:24:32 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-05-12 04:24:32 -0700 |
| commit | b296d770688632a74e6e95e39eb64aedf8eadf2f (patch) | |
| tree | 8a3476b701f3f7cb6fb85819ba2ad342b0c421ef /src | |
| parent | 0ad6368b2908fb4df4e4f366bb3762f6cbe2ebf3 (diff) | |
| download | mayu-b296d770688632a74e6e95e39eb64aedf8eadf2f.tar.xz mayu-b296d770688632a74e6e95e39eb64aedf8eadf2f.zip | |
format(request): Reformat under latest Gleam formatting guidelines
Diffstat (limited to 'src')
| -rw-r--r-- | src/request.gleam | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/request.gleam b/src/request.gleam index 62abf1f..d726a03 100644 --- a/src/request.gleam +++ b/src/request.gleam @@ -28,12 +28,14 @@ pub fn handle(request, connection) { Ok(content) -> wisp.html_response( string_builder.from_string( - string.replace(content, "{{ MAYU_VERSION }}", case - envoy.get("MAYU_VERSION") - { - Ok(version) -> "(v" <> version <> ")" - Error(_) -> "" - }), + string.replace( + content, + "{{ MAYU_VERSION }}", + case envoy.get("MAYU_VERSION") { + Ok(version) -> "(v" <> version <> ")" + Error(_) -> "" + }, + ), ), 200, ) |