Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: WebSocket Context Path on Frontend #7156

Open
2 tasks done
truediogo opened this issue Nov 28, 2024 · 1 comment
Open
2 tasks done

🐛 Bug Report: WebSocket Context Path on Frontend #7156

truediogo opened this issue Nov 28, 2024 · 1 comment
Assignees
Labels

Comments

@truediogo
Copy link

📜 Description

WebSocket Context Path not working on Frontend, even with variables set the front-end stays trying to fetch root domain

👟 Reproduction steps

1 - Deploy with Docker

https://docs.novu.co/community/self-hosting-novu/deploy-with-docker

2 - Set Context Paths At .env

# Context Paths
# Only needed for setups with reverse-proxies
GLOBAL_CONTEXT_PATH="novu"
FRONT_BASE_CONTEXT_PATH="web"
API_CONTEXT_PATH="api"
WS_CONTEXT_PATH="ws"
WIDGET_CONTEXT_PATH="widget"

3 - Access Dashboard

👍 Expected behavior

It should work properly with all modules respecting context path variables

👎 Actual Behavior with Screenshots

Captura de Tela 2024-11-28 às 15 06 40

Frontend is calling / instead /novu/ws

Novu version

2.1.0

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?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

None

Copy link

linear bot commented Nov 28, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants