Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/apps/web/proxy.ts
diff options
context:
space:
mode:
authorLeitwolf2026-11-16 18:11:50 +0300
committerGitHub2026-11-16 18:11:50 +0300
commit1d669cd07fa4ee23d1d1d116a90dabd95d2daa81 (patch)
treeeb76a51454bb85aff0ee5ec43a142b8d16f90a86 /apps/web/proxy.ts
parentcd4f0c3fb7b77640f55a807d306ae8389283f9f7 (diff)
parent62faa7158ce51495dcdd09e7858c23faee707cfd (diff)
downloadprogmaweb-main.tar.gz
Merge pull request #77 from Progmasoft/site/catch3-ukHEADmain
Serve the Catch3 site at catch3.uk
Diffstat (limited to 'apps/web/proxy.ts')
-rw-r--r--apps/web/proxy.ts9
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) {