mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-14 17:02:56 +00:00
change path
This commit is contained in:
@@ -99,8 +99,8 @@ async fn routes(req: Request<Body>, compute: &Arc<ComputeNode>) -> Response<Body
|
||||
}
|
||||
}
|
||||
|
||||
(&Method::POST, "/extensions") => {
|
||||
info!("serving /extensions POST request");
|
||||
(&Method::POST, "/extensions/install") => {
|
||||
info!("serving /extensions/install POST request");
|
||||
let status = compute.get_status();
|
||||
if status != ComputeStatus::Running {
|
||||
let msg = format!(
|
||||
|
||||
@@ -144,7 +144,7 @@ paths:
|
||||
description: Error text or 'true' if check passed.
|
||||
example: "true"
|
||||
|
||||
/extensions:
|
||||
/extensions/install:
|
||||
post:
|
||||
tags:
|
||||
- Extensions
|
||||
|
||||
Reference in New Issue
Block a user