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 with queue route #9

Open
ramarm opened this issue Nov 7, 2024 · 0 comments
Open

Bug with queue route #9

ramarm opened this issue Nov 7, 2024 · 0 comments

Comments

@ramarm
Copy link

ramarm commented Nov 7, 2024

Hey,
I found a bug in the queue logic. You build the url like this
${APP_SERVICE_URL}/${APP_SERVICE_QUEUE_ENDPOINT}?secret=${taskSecret}
while the APP_SERVICE_QUEUE_ENDPOINT is /mndy-queue and the user may add APP_SERVICE_URL with / at the end.
This causes the endpoint to be ///mndy-queue instead of /mndy-queue.
The best solution in my opinion will be to generate the url like this
new URL(APP_SERVICE_URL, APP_SERVICE_QUEUE_ENDPOINT)

I tried to develop that but failed building the developer container...

Thanks,
Ram

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

No branches or pull requests

1 participant