Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Issue in local developement and remote server data fetch #666

Closed
exploit-io opened this issue Oct 4, 2020 · 1 comment
Closed

Issue in local developement and remote server data fetch #666

exploit-io opened this issue Oct 4, 2020 · 1 comment

Comments

@exploit-io
Copy link

exploit-io commented Oct 4, 2020

Hi,

I am making some changes in web version, when i run npm run build:prod:watch The web page loads in https://localhost:8080

But when I try to login with my creds, It cant fetch data from bitwarden API.

In the browser it says the error is because of CORS!

Please help me solve the problem.

@exploit-io exploit-io changed the title Issue in developemen and data fetch Issue in local developement and remote server data fetch Oct 4, 2020
@exploit-io
Copy link
Author

I could solve the problem with following extension.

https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf?hl=en

jdmccauley added a commit to jdmccauley/web that referenced this issue Nov 15, 2020
…SCSS dependency v4.13.1 only supports Node.js up to v13.9.0.

Added note for npm commands for running the application against local APIs versus production. The correct npm command for running against production was found here bitwarden#666.
Added more lines to the services.module.ts example to better reflect the actual file.
cscharf pushed a commit that referenced this issue Dec 10, 2020
* Noted upper limit of Node.js verion support for the application: the SCSS dependency v4.13.1 only supports Node.js up to v13.9.0.
Added note for npm commands for running the application against local APIs versus production. The correct npm command for running against production was found here #666.
Added more lines to the services.module.ts example to better reflect the actual file.

* Added CORS common issue and solution to README.md

* Changed Node.js version notes for real this time.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant