fetch-base64 | node package to fetch | Runtime Evironment library
kandi X-RAY | fetch-base64 Summary
kandi X-RAY | fetch-base64 Summary
A node package to fetch local or remote files in base64 encoding. Useful for inlining assets (images, web fonts, etc.) into HTML or CSS documents. Disclaimer: I've only used this for images so far, but there is no reason why it shouldn't work for any other kind of files.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fetch-base64
fetch-base64 Key Features
fetch-base64 Examples and Code Snippets
Community Discussions
Trending Discussions on fetch-base64
QUESTION
I face a weird problem after updating versions of nodejs and npm when I'm trying to serve firebase functions locally (after deploy everything working perfect).
details: When I try to send put and/or delete request from angular6 application to fireabse which is served locally the console error is like this one:
Access to XMLHttpRequest at 'http://localhost:5000/PROJECT-NAME/us-central1/helloWorld' from origin 'http://localhost:4200' has been blocked by CORS policy: Method PUT is not allowed by Access-Control-Allow-Methods in preflight response.
But in case of post/get request everything is going fine
Versions:
...ANSWER
Answered 2019-May-13 at 22:28Here's the answer:
the problem comes after firebase-tools update as I mentioned in the question. versions of 6.9.0 and 6.9.1 have this problem. Simply I downgrade to 6.8.0 and now it's working fine for me!
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fetch-base64
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page