From c978238f46e62bca0f09eabd7d385eda050e402f Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Thu, 8 Oct 2026 10:03:54 +0700 Subject: [PATCH] test: use the tiennm99.workers.dev origin in fixtures --- test/worker-validation.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/worker-validation.test.js b/test/worker-validation.test.js index 5e0b562..ce47617 100644 --- a/test/worker-validation.test.js +++ b/test/worker-validation.test.js @@ -202,7 +202,7 @@ describe('GET /api/ws', () => { }); const restrictedEnv = { ...env, - ALLOWED_ORIGINS: 'https://rplace.miti99.workers.dev', + ALLOWED_ORIGINS: 'https://rplace.tiennm99.workers.dev', }; const res = await app.fetch(req, restrictedEnv); expect(res.status).toBe(403); @@ -215,12 +215,12 @@ describe('GET /api/ws', () => { const req = new Request('http://localhost/api/ws', { headers: { Upgrade: 'websocket', - Origin: 'https://rplace.miti99.workers.dev', + Origin: 'https://rplace.tiennm99.workers.dev', }, }); const restrictedEnv = { ...env, - ALLOWED_ORIGINS: 'https://rplace.miti99.workers.dev', + ALLOWED_ORIGINS: 'https://rplace.tiennm99.workers.dev', }; const res = await app.fetch(req, restrictedEnv); expect(res.status).toBe(200);