fix: revert: use CRC32 to shorten app subdomain

This reverts commit 0e28397c82.
This commit is contained in:
Marcin Tojek
2023-10-10 18:12:46 +10:00
committed by GitHub
parent b039dc6989
commit f36fba2486
4 changed files with 6 additions and 24 deletions
+1 -1
View File
@@ -1353,7 +1353,7 @@ func Run(t *testing.T, appHostIsPrimary bool, factory DeploymentFactory) {
}, testutil.WaitLong, testutil.IntervalFast, "stats not reported")
assert.Equal(t, workspaceapps.AccessMethodPath, stats[0].AccessMethod)
assert.Equal(t, proxyTestAppNameOwner, stats[0].SlugOrPort)
assert.Equal(t, "test-app-owner", stats[0].SlugOrPort)
assert.Equal(t, 1, stats[0].Requests)
})
}
+4 -4
View File
@@ -32,10 +32,10 @@ import (
const (
proxyTestAgentName = "agent-name"
proxyTestAppNameFake = "taf"
proxyTestAppNameOwner = "tao"
proxyTestAppNameAuthenticated = "taa"
proxyTestAppNamePublic = "tap"
proxyTestAppNameFake = "test-app-fake"
proxyTestAppNameOwner = "test-app-owner"
proxyTestAppNameAuthenticated = "test-app-authenticated"
proxyTestAppNamePublic = "test-app-public"
proxyTestAppQuery = "query=true"
proxyTestAppBody = "hello world from apps test"