From 6e795858bf9d43fc533d0de1ceeabd5a552d9d7c Mon Sep 17 00:00:00 2001 From: Chris W Date: Sun, 8 Oct 2023 17:43:09 -0600 Subject: [PATCH] add github link to api --- src/config.rs | 2 +- src/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 98b10d3..4d4a341 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 f0629b7..ced48b2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,6 +75,7 @@ async fn help() -> 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.",