From bc673d6f6730b9a0c491df3207fd0b7425d6c1d2 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Wed, 4 Sep 2024 00:08:10 -0600 Subject: [PATCH] revert: add back prefix to test --- apps/dokploy/__test__/traefik/traefik.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dokploy/__test__/traefik/traefik.test.ts b/apps/dokploy/__test__/traefik/traefik.test.ts index bc62cb62..7ca9f169 100644 --- a/apps/dokploy/__test__/traefik/traefik.test.ts +++ b/apps/dokploy/__test__/traefik/traefik.test.ts @@ -107,7 +107,7 @@ test("Web entrypoint on http domain", async () => { ); expect(router.middlewares).not.toContain("redirect-to-https"); - expect(router.rule).not.toContain("PathSuffix"); + expect(router.rule).not.toContain("PathPrefix"); }); test("Web entrypoint on http domain with custom path", async () => { @@ -117,7 +117,7 @@ test("Web entrypoint on http domain with custom path", async () => { "web", ); - expect(router.rule).toContain("PathSuffix(`/foo`)"); + expect(router.rule).toContain("PathPrefix(`/foo`)"); }); test("Web entrypoint on http domain with redirect", async () => {