This commit is contained in:
2026-10-23 12:06:45 +08:00
parent a06f54489c
commit 23efe59874
5 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ test('gray H5 runs on an isolated network with same-origin Gateway API', async (
assert.match(compose, /name: firstleg-production-network/)
assert.match(compose, /127\.0\.0\.1:/)
assert.doesNotMatch(compose, /test-network|gateway-overseas/)
assert.match(nginx, /location \/gateway-api\//)
assert.match(nginx, /location \^~ \/gateway-api\//)
assert.ok(nginx.includes('proxy_pass ${API_UPSTREAM}/api/;'))
assert.match(docker, /COPY deploy\/nginx.production.conf.template \/etc\/nginx\/templates\/default.conf.template/)
})