diff options
| author | anon | 2025-08-20 23:17:52 +0200 |
|---|---|---|
| committer | anon | 2025-08-20 23:17:52 +0200 |
| commit | 9e5210b13f0aaf159200a406d776b7cf41d3c0ec (patch) | |
| tree | a0bc3e916109e8a9233bbbdeadcc429fcbd0f0d0 /config.pl.example | |
| parent | a2dc99306715c89d9863a18fe367f5a912f3590a (diff) | |
| parent | c77da682d171f87203bd139817e37242184d8441 (diff) | |
| download | gorillanest-9e5210b13f0aaf159200a406d776b7cf41d3c0ec.tar.xz gorillanest-9e5210b13f0aaf159200a406d776b7cf41d3c0ec.tar.zst | |
Merge branch 'master' of https://git.lain.church/emil/gorillanest
Diffstat (limited to 'config.pl.example')
| -rw-r--r-- | config.pl.example | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.pl.example b/config.pl.example new file mode 100644 index 0000000..fd39608 --- /dev/null +++ b/config.pl.example @@ -0,0 +1,6 @@ +# always assume anything to do with files is from project root +use constant GIT_ROOT => 'git'; # directory containing all browsable $users/$repositories +use constant DB_FILE => 'gorillanest.sqlite3'; # sqlite3 database file location +use constant TEMPLATE_ROOT => 'template'; # template directory +use constant USER_REPOSITORY => qr{^/([a-zA-Z0-9_.]+)(?:/([a-zA-Z0-9_.]+))?}; # $1 = username, $2 = repository fullname +1; |
