summaryrefslogtreecommitdiff
path: root/git-gmi/const.py
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@macaw.me>2020-06-14 18:03:01 +0800
committerFrederick Yin <fkfd@macaw.me>2020-06-14 18:03:01 +0800
commit59c2e948797d088e795cc2290fa8c3004ddb71c1 (patch)
tree472fdeb60b9431efb9b6f75cdee03efe3e69765a /git-gmi/const.py
parentee8f25fd963dec48b31ff4072afd2c95f24d518e (diff)
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
Diffstat (limited to 'git-gmi/const.py')
-rw-r--r--git-gmi/const.py6
1 files changed, 4 insertions, 2 deletions
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"