PeterHdd / cordova-plugin-crypto-file

Encrypts source files, works with cordova-plugin-ionic-webview
Apache License 2.0
30 stars 28 forks source link

origin 'http://localhost:8080' has been blocked by CORS policy #19

Open atmanegara opened 3 years ago

atmanegara commented 3 years ago

origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. after installing this plugin, I have settings

but delete this plugin, normal application

PeterHdd commented 3 years ago

is this the full error? What does ionic info give you in the terminal? Also if you remove it and do a build then go to chrome://inspect are the files served on http://localhost:8080 or https://localhost:8080?

atmanegara commented 3 years ago

is this the full error? What does ionic info give you in the terminal? Also if you remove it and do a build then go to chrome://inspect are the files served on http://localhost:8080 or https://localhost:8080?

not using ionic, using cordova+jquery

PeterHdd commented 3 years ago

Try this https://github.com/tkyaji/cordova-plugin-crypt-file/