Function
vitejs_up_handler
(State(state): State<Arc<AppState>>)
Source from the content-addressed store, hash-verified
| 107 | } |
| 108 | |
| 109 | async fn vitejs_up_handler(State(state): State<Arc<AppState>>) -> impl IntoResponse { |
| 110 | let sender = state.tx.clone(); |
| 111 | sender.send(DevServerEvent::ViteJSStatus(true)).ok(); |
| 112 | |
| 113 | StatusCode::OK.into_response() |
| 114 | } |
| 115 | |
| 116 | async fn vitejs_down_handler(State(state): State<Arc<AppState>>) -> impl IntoResponse { |
| 117 | let sender = state.tx.clone(); |
Callers
nothing calls this directly
Tested by
no test coverage detected