diff options
author | Frederick Yin <fkfd@macaw.me> | 2020-07-28 21:46:17 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@macaw.me> | 2020-07-28 21:46:17 +0800 |
commit | 0a54df66bb17c053528bfee81436cf8e986ecd69 (patch) | |
tree | 748361df0f10512b33fe9f4a0025e8892b786d99 /git-gmi/config.py | |
parent | 3460330d470a45d6a2ce0bc1f02e1eb3de5514f4 (diff) | |
parent | 668353172f4874723f16063d08dedc2a9283331e (diff) |
Diffstat (limited to 'git-gmi/config.py')
-rw-r--r-- | git-gmi/config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/git-gmi/config.py b/git-gmi/config.py index 6624b3b..e72c6f9 100644 --- a/git-gmi/config.py +++ b/git-gmi/config.py @@ -2,6 +2,10 @@ GIT_CATALOG = "/home/fakefred/p/_lab/gemini/repos/" # which path leads to your cgi app after the URL's host part CGI_PATH = "/cgi/" +# cache dir +CACHE_DIR = "/home/fakefred/Archive/_cache/" +# how long before cache expires, in seconds: int +CACHE_TTL = 120 # your site's display name GIT_GMI_SITE_TITLE = "git.gmi demo instance" # the "main" branch that git.gmi defaults to |