Pause browser local AI behind disabled feature flag
Build and publish frontend / publish (push) Failing after 2s
Build and publish frontend / publish (push) Failing after 2s
This commit is contained in:
@@ -5,7 +5,10 @@ test -s index.html
|
||||
grep -q '<html lang="sv">' index.html
|
||||
grep -q 'id="frontend-version">__FRONTEND_VERSION__' index.html
|
||||
grep -q '<script src="/voice.js?v=__FRONTEND_VERSION__"></script>' index.html
|
||||
grep -q '<script src="/static/wllama-gemma3-v2/local-ai.js"></script>' index.html
|
||||
grep -q 'const FEATURE_FLAGS = Object.freeze({localAI: false})' index.html
|
||||
grep -q 'if (!FEATURE_FLAGS.localAI) return Promise.resolve(null)' index.html
|
||||
grep -q "script.src = '/static/' + 'wllama-gemma3-v2/local-ai.js'" index.html
|
||||
! grep -q '<script src="/static/wllama-gemma3-v2/local-ai.js"></script>' index.html
|
||||
grep -q '<script src="/piper-runtime.js?v=__FRONTEND_VERSION__"></script>' index.html
|
||||
grep -q 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0' nginx/default.conf
|
||||
grep -q 'Cross-Origin-Embedder-Policy "require-corp"' nginx/default.conf
|
||||
|
||||
Reference in New Issue
Block a user