feat/Update_Controllers_to_Allow_for_Premium_Membership

This commit is contained in:
cesnimda
2026-08-03 09:17:28 +02:00
parent de937d25dc
commit c3f4a57195
187 changed files with 26062 additions and 991 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
import fs from "node:fs";
import path from "node:path";
test("public health reaches the backend instead of the SPA fallback", () => {
const config = fs.readFileSync(path.join(process.cwd(), "nginx.conf"), "utf8");
test("canonical-host health reaches the backend instead of the SPA fallback", () => {
const config = fs.readFileSync(path.join(process.cwd(), "nginx.conf.template"), "utf8");
expect(config).toMatch(/location = \/health\s*{[^}]*proxy_pass http:\/\/backend:8080\/health;/s);
expect(config).toMatch(/location = \/health\s*{[^}]*proxy_pass http:\/\/backend-web:8080\/health;/s);
});