diff options
| author | Fuwn <[email protected]> | 2021-05-10 15:50:51 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-10 15:55:30 -0700 |
| commit | c9e1bc37faf2e4d15bf9a9aa18a5f483d9235518 (patch) | |
| tree | 7cc25b93f1a46f3bd4da1b1ae650c217f9c403b7 /src/api/routes/mod.rs | |
| parent | Merge pull request #16 from Whirlsplash/renovate/commitizen-4.x (diff) | |
| download | whirl-c9e1bc37faf2e4d15bf9a9aa18a5f483d9235518.tar.xz whirl-c9e1bc37faf2e4d15bf9a9aa18a5f483d9235518.zip | |
perf(api): use actix_web instead of rocket for api
Refactors API for Actix, also enables CORS.
BREAKING CHANGE: `whirlsplash.port.api` configuration key created.
closes #20
Diffstat (limited to 'src/api/routes/mod.rs')
| -rw-r--r-- | src/api/routes/mod.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/api/routes/mod.rs b/src/api/routes/mod.rs index 231236c..f5a2ff4 100644 --- a/src/api/routes/mod.rs +++ b/src/api/routes/mod.rs @@ -2,6 +2,3 @@ // SPDX-License-Identifier: GPL-3.0-only pub mod stats; - -#[get("/")] -pub fn index() -> &'static str { "Whirlsplash" } |