diff options
| author | Fuwn <[email protected]> | 2022-07-17 23:56:24 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-07-17 23:56:24 -0700 |
| commit | 8ec7d88615b1cbd8ada50d007625d4e72681ece5 (patch) | |
| tree | 2857e4a469271decff73b20083fc472c90bfeb11 /src/modules/api | |
| parent | feat(api): sydney version api (diff) | |
| download | locus-8ec7d88615b1cbd8ada50d007625d4e72681ece5.tar.xz locus-8ec7d88615b1cbd8ada50d007625d4e72681ece5.zip | |
fix(sydney.rs): api response mime
Diffstat (limited to 'src/modules/api')
| -rw-r--r-- | src/modules/api/sydney.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/api/sydney.rs b/src/modules/api/sydney.rs index 1a5e2ae..80e155a 100644 --- a/src/modules/api/sydney.rs +++ b/src/modules/api/sydney.rs @@ -64,7 +64,7 @@ pub fn module(router: &mut windmark::Router) { crate::route::cache(&context, &content); - windmark::Response::Success(content) + windmark::Response::SuccessWithMime(content, "text/plain".to_string()) }), ); } |