parent
f9a76b4cef
commit
10feeba2ea
|
@ -219,4 +219,4 @@ pub struct ConfigQuery {
|
|||
|
||||
/// The syntax highlight theme. It can be a theme name or path to a .tmTheme file.
|
||||
pub theme: Option<String>
|
||||
}
|
||||
}
|
|
@ -111,7 +111,6 @@ async fn help(request: HttpRequest) -> impl Responder {
|
|||
let json = r#"
|
||||
{
|
||||
"message": "Hello, world! Welcome to Inkify, a simple API for generating images from code. Think of it like Carbon in API form.",
|
||||
"github": "https://github.com/watzon/inkify",
|
||||
"routes": {
|
||||
"GET /": "This help text. Will always return 200, so you can use it to check if the server is up.",
|
||||
"GET /themes": "Return a list of available syntax themes.",
|
||||
|
|
Loading…
Reference in New Issue