diff options
author | Arun Isaac | 2025-03-25 20:10:41 +0000 |
---|---|---|
committer | Arun Isaac | 2025-03-26 02:10:47 +0000 |
commit | ecccf70f709523f3ecaa1b6fdccad4e5250a7ae5 (patch) | |
tree | 48a099796cb4e6583b5848e1ca96e8a512b6baad /tests/web | |
parent | 0b6c354eda626a99d7b5c785ca58cb2e30e7ea90 (diff) | |
download | tissue-ecccf70f709523f3ecaa1b6fdccad4e5250a7ae5.tar.gz tissue-ecccf70f709523f3ecaa1b6fdccad4e5250a7ae5.tar.lz tissue-ecccf70f709523f3ecaa1b6fdccad4e5250a7ae5.zip |
web: Allow hosting multiple projects at the same host.
tissue instances will most often be used with multiple projects. The trouble of setting up separate DNS entries for each project is just not worth the trouble. Hence, despite some loss of elegance and simplicity, we make this concession. With this change, tissue instances will resemble public-inbox instances in their URL structure. However, larger projects may wish to keep the entire host to themselves, particularly for branding reasons. To support such projects, we must still allow single project hosts. * tissue/web/server.scm (rebase-uri-path): New function. (handler): Handle hosts and projects. * bin/tissue (normalize-project): New function. (normalize-host, tissue-pull): Adapt to new tissue.conf layout.
Diffstat (limited to 'tests/web')
0 files changed, 0 insertions, 0 deletions