---
title: "Comment by Himanshu Khare on \"How to fix CORS error for your Flutter web app\" | Hashnode"
description: "How to disable also in flutter deploy a web app not in localhost"
url: "https://hashnode.com/posts/how-to-fix-cors-error-for-your-flutter-web-app/6110ec85b79d6a1136684116/comment/6200ccb2295d276006775ec7"
---

[Discussion](https://hashnode.com/posts/how-to-fix-cors-error-for-your-flutter-web-app/6110ec85b79d6a1136684116)

Comment [How to fix CORS error for your Flutter web app](https://hashnode.com/posts/how-to-fix-cors-error-for-your-flutter-web-app/6110ec85b79d6a1136684116)

[Himanshu Khare](https://hashnode.com/@himanshu843)

[Feb 7, 2022](https://hashnode.com/posts/how-to-fix-cors-error-for-your-flutter-web-app/6110ec85b79d6a1136684116/comment/6200ccb2295d276006775ec7)

How to disable also in flutter deploy a web app not in localhost

[Aleksandar Balalovski](https://hashnode.com/@itsbalal)

[Feb 7, 2022](https://hashnode.com/posts/how-to-fix-cors-error-for-your-flutter-web-app/6110ec85b79d6a1136684116/comment/6200ccb2295d276006775ec7#reply-6200d82a295d276006776105)

You will need some form of a Backend to which you will direct your requests and take full control over the request headers. In my case I wrote a Node.js backend to solve the problem.

[Himanshu Khare](https://hashnode.com/@himanshu843)

[Feb 7, 2022](https://hashnode.com/posts/how-to-fix-cors-error-for-your-flutter-web-app/6110ec85b79d6a1136684116/comment/6200ccb2295d276006775ec7#reply-6200dd19295d2760067761be)

[Aleksandar Balalovski](https://hashnode.com/@itsbalal) but I did not know backend can u share ur code

[Himanshu Khare](https://hashnode.com/@himanshu843)

[Feb 7, 2022](https://hashnode.com/posts/how-to-fix-cors-error-for-your-flutter-web-app/6110ec85b79d6a1136684116/comment/6200ccb2295d276006775ec7#reply-6200dd36295d2760067761c2)

[Aleksandar Balalovski](https://hashnode.com/@itsbalal) but I did not know backend can u share ur code
