mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 01:47:47 +08:00
feat(vscodex): add remote Codex collaboration module
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
use axum::routing::get;
|
||||
use axum::Router;
|
||||
|
||||
use crate::{handlers::proxy::proxy_request, state::AppState};
|
||||
use crate::{
|
||||
handlers::{proxy::proxy_request, public::vscodex_ws_proxy},
|
||||
state::AppState,
|
||||
};
|
||||
|
||||
pub(crate) fn mount_public_support_routes(router: Router<AppState>) -> Router<AppState> {
|
||||
router
|
||||
@@ -26,6 +29,7 @@ pub(crate) fn mount_public_support_routes(router: Router<AppState>) -> Router<Ap
|
||||
.route("/api/capabilities", get(proxy_request))
|
||||
.route("/api/capabilities/user-configurable", get(proxy_request))
|
||||
.route("/api/capabilities/model/{*model_path}", get(proxy_request))
|
||||
.route("/api/vscodex/ws", get(vscodex_ws_proxy))
|
||||
.route("/install/{*install_path}", get(proxy_request))
|
||||
.route("/install-tunnel/{*install_path}", get(proxy_request))
|
||||
.route("/i/{*install_path}", get(proxy_request))
|
||||
|
||||
Reference in New Issue
Block a user