Skip to content

Revert "Pre load scripts so they are cached"#10482

Merged
charleyf merged 1 commit intomainfrom
revert-10363-charley/cache-passive-liveness-scripts
Apr 23, 2024
Merged

Revert "Pre load scripts so they are cached"#10482
charleyf merged 1 commit intomainfrom
revert-10363-charley/cache-passive-liveness-scripts

Conversation

@charleyf
Copy link
Contributor

@charleyf charleyf commented Apr 23, 2024

Reverts #10363

There's been problems (Slack link) in dev after this PR merged, and the following appears in my console:

[Error] Refused to execute https://idp.dev.identitysandbox.gov/acuant/11.9.2/face_landmark_68_tiny_model-weights_manifest.json as script because "X-Content-Type-Options: nosniff" was given and its Content-Type is not a script MIME type.
[Error] Refused to execute https://idp.dev.identitysandbox.gov/acuant/11.9.2/tiny_face_detector_model-weights_manifest.json as script because "X-Content-Type-Options: nosniff" was given and its Content-Type is not a script MIME type.

This seems related to this PR so reverting it for now.

@charleyf charleyf merged commit 38628b5 into main Apr 23, 2024
@charleyf charleyf deleted the revert-10363-charley/cache-passive-liveness-scripts branch April 23, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants