For anyone following this - Harbs suggested turning off Cors policy in the
browser. I tried a few plugins and the flags method but they didn't work. I
used allow CORS plugin today and it worked perfect - Gave me a whitelist for
localhost:3000 and it worked. I uploaded the screen - nice product
Hi Mark,
This is definitely not related to Moonshine. What browser are you using?
Usually Firefox is less restrictive in case of Cors. - It's just quick
thought.
Thanks,
Piotr
pon., 6 maj 2024 o 15:51 MARK HARTNETT napisaĆ(a):
> Hi Piotr, Still stuck on the small bug. Below you can see I made
Hi Piotr, Still stuck on the small bug. Below you can see I made a request from
localhost and then from my external Tomcat server athttp://www.causeLogix.com
and received that same message. These are both being requested through
Moonshine server localhost:3000.
The option Access-Control-Allow
In Eclipse both the app and tomcat are on localhost:8080 so CORS policy is not
a problem.
I'm running Tomcat using the Eclipse IDE which is on 8080 and moonshine is
localhost:3000
As Harbs suggested, I downoaded an extension that unblocks Cors Policy but I
still have to play around with it.
How are you launching your app? Trough Build and Debug in Moonshine ?
You need to probably run your all trough the local http server. Setup some
using Xampp or any other tool.
Piotr Zarzycki
On Sat, 4 May 2024 at 22:12, MARK HARTNETT wrote:
> The CORs policy restricts unknown servers from exc
You can turn off CORS restrictions for localhost in your browser. That might
make development easier.
Harbs
> On May 4, 2024, at 11:11 PM, MARK HARTNETT wrote:
>
> The CORs policy restricts unknown servers from exchanging data. Tomcat needs
> a CorsFilter.jar and CorsFilter defined in the Tom
The CORs policy restricts unknown servers from exchanging data. Tomcat needs a
CorsFilter.jar and CorsFilter defined in the Tomcat6/conf/Web.xml and an entry
for localhost:3000. I did that and still the same error.
When I press the login button, the connection is actually successful. I see it