Ticket: CORS Issue with Local Hosting of Postiz
@MatiM Just created a ticket
Question: i installed postiz and it's not working
Attempted: i'm trying to host it locally and i'm getting: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost/api/auth/register. (Reason: CORS request did not succeed). Status code: (null). 2 error
Working On: host it locally
Using Postiz On: docker on windows
Take it from here @Postiz
Question: i installed postiz and it's not working
Attempted: i'm trying to host it locally and i'm getting: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost/api/auth/register. (Reason: CORS request did not succeed). Status code: (null). 2 error
Working On: host it locally
Using Postiz On: docker on windows
Take it from here @Postiz
1 Reply
Hey @MatiM
So, you need to tell us a bit more information so we can help you of course π
Help us to help you π
You say you're running on Windows, I assume this is with docker desktop - that's basically Linux running in a VM.
So it won't work on localhost specifically, you need to set the FRONTEND_URL to the IP address of your docker host