chore: test deploy snapshot

This commit is contained in:
2026-05-29 18:51:12 +09:00
parent 737ab0a34a
commit 4e6e73dbd5

View File

@@ -256,7 +256,7 @@ export function getCurrentPlayAppEnvironment(): PlayAppEnvironment {
return 'prod';
}
const hostname = window.location.hostname;
const hostname = window.location.hostname.toLowerCase();
const isLocalHost =
hostname === 'localhost' || hostname === '127.0.0.1' || hostname === '::1' || hostname === '0.0.0.0';
@@ -264,6 +264,10 @@ export function getCurrentPlayAppEnvironment(): PlayAppEnvironment {
return 'test';
}
if (hostname.includes('test')) {
return 'test';
}
if (hostname.includes('preview')) {
return 'preview';
}