Spaces:
Running
Running
Enable remote static Space smoke validation
Browse files
app.js
CHANGED
|
@@ -2242,7 +2242,7 @@ function feedLoopbackAudio(audio, sampleRate) {
|
|
| 2242 |
}
|
| 2243 |
|
| 2244 |
function isLocalAutomationHost() {
|
| 2245 |
-
return ["localhost", "127.0.0.1", "::1", ""].includes(location.hostname);
|
| 2246 |
}
|
| 2247 |
|
| 2248 |
function automationSnapshot() {
|
|
|
|
| 2242 |
}
|
| 2243 |
|
| 2244 |
function isLocalAutomationHost() {
|
| 2245 |
+
return ["localhost", "127.0.0.1", "::1", ""].includes(location.hostname) || location.hostname.endsWith(".hf.space");
|
| 2246 |
}
|
| 2247 |
|
| 2248 |
function automationSnapshot() {
|