Skip to content

Commit b5f1a56

Browse files
committed
Enable CORS for locally served bookmarklet
Trying to run the bookmarklet without CORS creates errors in the boot strip of the bookmarklet, keeping it from being able to connect to the Ember application that you want to inspect. Adding `ember-cli-cors` fixes this.
1 parent 5226815 commit b5f1a56

File tree

2 files changed

+661
-1
lines changed

2 files changed

+661
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test": "tests"
1111
},
1212
"scripts": {
13-
"build":"pnpm build:ember-debug && ember build",
13+
"build": "pnpm build:ember-debug && ember build",
1414
"build:ember-debug": "pnpm --filter ember-debug build",
1515
"build:production": "pnpm build:ember-debug && EMBER_ENV=production node scripts/download-panes.js && ember build --environment production && gulp compress:chrome && gulp compress:firefox && gulp clean-tmp",
1616
"changelog": "github_changelog_generator -u emberjs -p ember-inspector --since-tag v3.8.0",
@@ -90,6 +90,7 @@
9090
"ember-cli-babel": "^8.2.0",
9191
"ember-cli-clean-css": "^3.0.0",
9292
"ember-cli-code-coverage": "^1.0.3",
93+
"ember-cli-cors": "^0.0.2",
9394
"ember-cli-dependency-checker": "^3.3.3",
9495
"ember-cli-deprecation-workflow": "^2.2.0",
9596
"ember-cli-htmlbars": "^6.3.0",

0 commit comments

Comments
 (0)