From 59c2e948797d088e795cc2290fa8c3004ddb71c1 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sun, 14 Jun 2020 18:03:01 +0800 Subject: Massive improvements - Python CGI server script renamed to gateway.py to avoid confusion - Repo not found error handling - Page header & navs - Fix faulty 20 response header - View (non-)raw blob --- git-gmi/const.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'git-gmi/const.py') diff --git a/git-gmi/const.py b/git-gmi/const.py index 9a1bddd..dcf97b1 100644 --- a/git-gmi/const.py +++ b/git-gmi/const.py @@ -1,5 +1,7 @@ -GIT_CATALOG = "/home/fakefred/p/gemini/git/" -STATUS_SUCCESS = "20 SUCCESS" +GIT_CATALOG = "/home/fakefred/p/gemini/repos/" +CGI_PATH = "/git/cgi/" +GIT_GMI_SITE_TITLE = "git.gmi demo instance" +STATUS_SUCCESS = "20" STATUS_NOT_FOUND = "51 NOT FOUND" STATUS_TEMPORARY_FAILURE = "40 TEMPORARY FAILURE" META_GEMINI = "text/gemini" -- cgit v1.2.3