feat(ops): register log and doc routes from shared core
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b651b6af66
commit
cea7726106
|
|
@ -18,6 +18,10 @@ async fn no_cache(
|
|||
pub fn build_router(state: AppState) -> Router {
|
||||
Router::new()
|
||||
.route("/api/health", get(health_check))
|
||||
.route("/api/logs", get(plc_platform_core::handler::log::get_logs))
|
||||
.route("/api/logs/stream", get(plc_platform_core::handler::log::stream_logs))
|
||||
.route("/api/docs/api-md", get(crate::handler::doc::get_api_md))
|
||||
.route("/api/docs/readme-md", get(crate::handler::doc::get_readme_md))
|
||||
.nest(
|
||||
"/ui",
|
||||
Router::new()
|
||||
|
|
|
|||
Loading…
Reference in New Issue