Cargo.lock
Cargo.lock
This file has not been changed.
Cargo.toml
Cargo.toml
This file has not been changed.
crates/tranquil-config/src/lib.rs
crates/tranquil-config/src/lib.rs
This file has not been changed.
crates/tranquil-pds/Cargo.toml
crates/tranquil-pds/Cargo.toml
This file has not been changed.
+14
-14
crates/tranquil-pds/src/lib.rs
+14
-14
crates/tranquil-pds/src/lib.rs
···
643
643
get(oauth::endpoints::oauth_authorization_server),
644
644
);
645
645
646
-
if cfg!(feature = "frontend") {}
647
-
648
-
let router = Router::new()
646
+
Router::new()
649
647
.nest_service("/xrpc", xrpc_service)
650
648
.nest("/oauth", oauth_router)
651
649
.nest("/.well-known", well_known_router)
···
655
653
get(oauth::endpoints::oauth_authorization_server),
656
654
);
657
655
658
-
Router::new()
656
+
if cfg!(feature = "frontend") {}
657
+
658
+
let router = Router::new()
659
659
.nest_service("/xrpc", xrpc_service)
660
660
.nest("/oauth", oauth_router)
661
661
.nest("/.well-known", well_known_router)
···
690
690
util::HEADER_ATPROTO_CONTENT_LABELERS,
691
691
]),
692
692
)
693
+
.with_state(state)
694
+
}
695
+
696
+
async fn rewrite_422_to_400(response: axum::response::Response) -> axum::response::Response {
697
+
698
+
699
+
700
+
util::HEADER_ATPROTO_CONTENT_LABELERS,
701
+
]),
702
+
)
693
703
.with_state(state);
694
704
695
705
if cfg!(feature = "frontend") && tranquil_config::get().frontend.enabled {
···
719
729
}
720
730
721
731
router
722
-
}
723
-
724
-
async fn rewrite_422_to_400(response: axum::response::Response) -> axum::response::Response {
725
-
726
-
727
-
728
-
util::HEADER_ATPROTO_CONTENT_LABELERS,
729
-
]),
730
-
)
731
-
.with_state(state)
732
732
}
733
733
734
734
async fn rewrite_422_to_400(response: axum::response::Response) -> axum::response::Response {
crates/tranquil-pds/src/oauth/endpoints/metadata.rs
crates/tranquil-pds/src/oauth/endpoints/metadata.rs
This file has not been changed.
deploy/nginx/nginx-quadlet.conf
deploy/nginx/nginx-quadlet.conf
This file has not been changed.
docs/install-debian.md
docs/install-debian.md
This file has not been changed.
frontend/nginx-quadlet.conf
frontend/nginx-quadlet.conf
This file has not been changed.
frontend/nginx.conf
frontend/nginx.conf
This file has not been changed.
frontend/public/oauth-client-metadata.json
frontend/public/oauth-client-metadata.json
This file has not been changed.
frontend/src/lib/migration/atproto-client.ts
frontend/src/lib/migration/atproto-client.ts
This file has not been changed.
frontend/src/lib/oauth.ts
frontend/src/lib/oauth.ts
This file has not been changed.
frontend/src/routes/ActAs.svelte
frontend/src/routes/ActAs.svelte
This file has not been changed.
frontend/src/tests/migration/atproto-client.test.ts
frontend/src/tests/migration/atproto-client.test.ts
This file has not been changed.
module.nix
module.nix
This file has not been changed.
nginx.frontend.conf
nginx.frontend.conf
This file has not been changed.
test.nix
test.nix
This file has not been changed.
History
5 rounds
0 comments
expand 0 comments
pull request successfully merged