diff options
author | Frederick Yin <fkfd@macaw.me> | 2020-06-14 18:03:01 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@macaw.me> | 2020-06-14 18:03:01 +0800 |
commit | 59c2e948797d088e795cc2290fa8c3004ddb71c1 (patch) | |
tree | 472fdeb60b9431efb9b6f75cdee03efe3e69765a /git-gmi/const.py | |
parent | ee8f25fd963dec48b31ff4072afd2c95f24d518e (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.py | 6 |
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" |