You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug happen after i luanch docker compose and in angular i install Novu/Js for more customization, but i got unexcpeted Error
"Blocage d’une requête multiorigine (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur http://localhost:3000/v1/inbox/session. Raison : l’en-tête « novu-api-version » n’est pas autorisé d’après l’en-tête « Access-Control-Allow-Headers » de la réponse de pré-vérification des requêtes CORS."
👟 Reproduction steps
1 Install angular 18
2 install Novu/Js
3 Launch Novu dockser compôse community
4 Configure it (follow https://docs.novu.co/inbox/headless/get-started)
5 and after ng serve you got "cors origins error "
👍 Expected behavior
It should work without cors error
👎 Actual Behavior with Screenshots
Novu version
Self-hosted
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
@bekmarc What do you use novu-api image docker version? Please use tag 2.0.0, novu-api allow all origin if use set NODE_ENV is test or local.
See code at here
📜 Description
The bug happen after i luanch docker compose and in angular i install Novu/Js for more customization, but i got unexcpeted Error
"Blocage d’une requête multiorigine (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur http://localhost:3000/v1/inbox/session. Raison : l’en-tête « novu-api-version » n’est pas autorisé d’après l’en-tête « Access-Control-Allow-Headers » de la réponse de pré-vérification des requêtes CORS."
👟 Reproduction steps
1 Install angular 18
2 install Novu/Js
3 Launch Novu dockser compôse community
4 Configure it (follow https://docs.novu.co/inbox/headless/get-started)
5 and after ng serve you got "cors origins error "
👍 Expected behavior
It should work without cors error
👎 Actual Behavior with Screenshots
Novu version
Self-hosted
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: