HiEventsDev / hi.events

Open-source event management and ticket selling platform 🎟️
https://hi.events
GNU Affero General Public License v3.0
323 stars 27 forks source link

Issue while creating account #3

Closed zarevskaya closed 1 month ago

zarevskaya commented 1 month ago

Describe the bug Hello, thank you for the application, when creating the account I got an error.

An unexpected error occurred. Please try again.

Logs in the browser: Blocking a multi-origin request (Cross-Origin Request): the “Same Origin” policy does not allow consulting the remote resource located at http://localhost:8123/api/auth/register. Reason: CORS request failed. Status code: (null)

Logs in the app: nothing special

To Reproduce Steps to reproduce the behavior: Install the app with: git clone https://github.com/HiEventsDev/hi.events.git cd hi.events/docker/all-in-one docker-compose up -d

Go to the account creation page.

Server

zarevskaya commented 1 month ago

Ok, I understood, I don't have localhost and I changed localhost to the server IP and it works.