diff options
| author | Leitwolf11 | 2026-11-16 16:27:16 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-11-16 16:27:16 +0300 |
| commit | 62faa7158ce51495dcdd09e7858c23faee707cfd (patch) | |
| tree | eb76a51454bb85aff0ee5ec43a142b8d16f90a86 /apps/web/proxy.ts | |
| parent | cd4f0c3fb7b77640f55a807d306ae8389283f9f7 (diff) | |
| download | progmaweb-site/catch3-uk.tar.gz | |
Serve the Catch3 site at catch3.uksite/catch3-uk
Catch3 has a domain of its own. Progmaweb answers catch3.uk with the
Catch3 page, its sitemap and its robots entry; catch3.progmasoft.com and
www.catch3.uk send a 308 to it from nginx, so one address serves the
site. catch3.uk has its own certificate (ops/README.md).
The page said Catch3 adds a C++20 library; it is a C++17 library, in
all four languages of the page.
Claude-Session: https://claude.ai/code/session_01Ji7xZMYjc4zankoc7hGBE1
Diffstat (limited to 'apps/web/proxy.ts')
| -rw-r--r-- | apps/web/proxy.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/web/proxy.ts b/apps/web/proxy.ts index 1993e2e..4bf1163 100644 --- a/apps/web/proxy.ts +++ b/apps/web/proxy.ts @@ -57,7 +57,14 @@ const ownSites: OwnSite[] = [ route: productRoute, api: false, }, - { hosts: hostsOf("catch3"), root: "/catch3", route: catch3Route, api: false }, + // Catch3's site has a domain of its own; catch3.progmasoft.com sends a 308 + // there from nginx. + { + hosts: new Set(["catch3.uk", "catch3.localhost"]), + root: "/catch3", + route: catch3Route, + api: false, + }, ]; export function proxy(request: NextRequest) { |