Skip to content

fix: serve the editor JavaScript locally - #306

Open
Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/130-self-host-js
Open

Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/130-self-host-js

Conversation

@Anurag-S1ngh

Copy link
Copy Markdown

Summary

The active config no longer loads ACE from cdnjs. It uses the local copy already in public/js and drops the unused Ajv CDN include.

Changes

  • Point ace at /js/ace.js with the matching integrity hash
  • Remove the ajv URL and hash; no code uses the global

Testing

  • npm run unittest: passes
  • Verified the ace and jsoneditor integrity hashes match the local files
  • Config syntax check passes

Closes #130

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.

don't rely on javascript from cloudflare

2 participants