httpd: Move `CorsLayer` to `/`
modified radicle-httpd/src/api.rs
@@ -1,14 +1,10 @@
|
|
|
|
| - | |
|
|
| - | |
| - | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -122,13 +118,6 @@ pub fn router(ctx: Context) -> Router {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified radicle-httpd/src/lib.rs
@@ -17,7 +17,11 @@ use axum::http::{Request, Response};
|
|
|
|
|
|
| + | |
| + | |
|
|
| + | |
| + | |
|
|
|
|
|
@@ -119,7 +123,14 @@ fn router(options: Options, profile: Profile) -> anyhow::Result<Router> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/raw.rs
@@ -1,14 +1,12 @@
|
|
| - | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -99,13 +97,6 @@ pub fn router(profile: Arc<Profile>) -> Router {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|