Mike0021 commited on
Commit
8f2cbe1
·
verified ·
1 Parent(s): b41e91e

Enable remote static Space smoke validation

Browse files
Files changed (1) hide show
  1. app.js +1 -1
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() {