Find Jobs
Hire Freelancers

CORS problem with Cloud 9 IDE

€8-30 EUR

Completed
Posted about 5 years ago

€8-30 EUR

Paid on delivery
Deliverables: - Correct and secure (no shortcuts!) setup of CORS. - While you're busy, replace a line of code with an environmental variable Our website / user portal is written in Node.js and React.js, using Express and Webpack. Running it locally in Cloud9 IDE (so the old Cloud 9, not the one for Amazon AWS), I get a CORS error, refusing the connection between the front-end and the API. Suspected cause is that the Cloud9 proxy produces a redirect. So I'm looking for someone who knows everything about CORS issues. If you're interested, please quote a fixed price. The error: Access to XMLHtmlRequest /name/22:1 at ‘URL’ from ‘URL’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: Redirect is not allowed for a preflight request. The existing CORS setup: [login to view URL]((req, res, next) => { [login to view URL]("Access-Control-Allow-Credentials", "true"); [login to view URL]("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept, Set-Cookie, *"); [login to view URL]("Access-Control-Allow-Origin", "*"); if ([login to view URL]("origin") && [login to view URL]("origin") !== "[Object object]") { [login to view URL]("Access-Control-Allow-Origin", [login to view URL]("origin")); } next(); });
Project ID: 18834741

About the project

3 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, What error pops up when you request resource from the client side? I'm not sure about the proxy so I'll need to take a look on that. Also need a bit more clarification about the 2nd task. I've worked on cloud 9 for a client, so I know my way around. Here's the link: [login to view URL] How will give me access? user and pass or as a collaborator? Do contact me when available. Mateen
€10 EUR in 1 day
5.0 (7 reviews)
3.0
3.0
3 freelancers are bidding on average €38 EUR for this job
User Avatar
Hi there, I am a PHP developer having more than 4+ years of experience Magento.I am providing services in website design and development in (PHP/WordPress/Codeigniter/Laravel/Joomla/Magento/Drupal) Technaologies. My Expertise - • Language : PHP • Design : Photoshop, PSD to HTML • Frontend tool: HTML,bootstrap,CSS • Backend tool: MYSQL • Open sources CMS like wordpress MAGENTO. • PHP frameworks like CI, Laravel. • Payment gateways, Social media integration We will be very happy to work with you on your project. we will meet all your requirements & deadlines also provided you the best result as your expectations. Thanks
€23 EUR in 1 day
5.0 (2 reviews)
3.5
3.5
User Avatar
I do know a lot about nodeJS and I do know CORS issues. I'll try solve if for a budget of 50 € and in case if the quick solution doesn't do the trick I'll go to look at it in depth. It'll cost you max 80 €. If you agree give it a go and I start directly. I'm here for the next few hours. Let me know if that's what you're looking for. Best regards Marc
€80 EUR in 1 day
5.0 (3 reviews)
2.1
2.1

About the client

Flag of NETHERLANDS
Ridderkerk, Netherlands
4.9
2
Payment method verified
Member since Jan 6, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.