- Add libs/frontend crate: build.rs runs pnpm build, copies dist/ to
OUT_DIR/dist_blobs/, generates frontend.rs with lazy_static! map
- libs/api/dist.rs serves embedded assets via serve_frontend handler
- Register /{path:.*} SPA fallback in route.rs (after /api/*)
- Remove frontend container from deploy: docker/frontend.Dockerfile,
deploy/templates/frontend-*.yaml, values.yaml frontend section
- Update ingress: gitdata.ai root now routes to app service
- Update scripts: build.js removes frontend step, deploy.js removes frontend
18 lines
289 B
Rust
18 lines
289 B
Rust
pub mod agent;
|
|
pub mod auth;
|
|
pub mod error;
|
|
pub mod git;
|
|
pub mod issue;
|
|
pub mod openapi;
|
|
pub mod project;
|
|
pub mod pull_request;
|
|
pub mod room;
|
|
pub mod route;
|
|
pub mod search;
|
|
pub mod skill;
|
|
pub mod user;
|
|
pub mod workspace;
|
|
|
|
pub use error::{api_success, ApiError, ApiResponse};
|
|
pub mod dist;
|