From 10feeba2ea0c88f3cc4cae65df4ce656c894dcab Mon Sep 17 00:00:00 2001 From: Chris W Date: Mon, 9 Oct 2023 13:18:19 -0600 Subject: [PATCH] Revert "add github link to api" This reverts commit 6e795858bf9d43fc533d0de1ceeabd5a552d9d7c. --- src/config.rs | 2 +- src/main.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index 4d4a341..98b10d3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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 -} +} \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 4925ea9..66427dc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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.",