diff options
| author | Leitwolf | 2026-11-16 18:11:50 +0300 |
|---|---|---|
| committer | GitHub | 2026-11-16 18:11:50 +0300 |
| commit | 1d669cd07fa4ee23d1d1d116a90dabd95d2daa81 (patch) | |
| tree | eb76a51454bb85aff0ee5ec43a142b8d16f90a86 /apps/web/proxy.ts | |
| parent | cd4f0c3fb7b77640f55a807d306ae8389283f9f7 (diff) | |
| parent | 62faa7158ce51495dcdd09e7858c23faee707cfd (diff) | |
| download | progmaweb-main.tar.gz | |
Serve the Catch3 site at catch3.uk
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) { |