Hey coders ,
By default /webook/ is there in webhook url , is there is any way to remove it ? and i need only http://localhost:5678/
pleae help me !
Hey coders ,
By default /webook/ is there in webhook url , is there is any way to remove it ? and i need only http://localhost:5678/
pleae help me !
Hi @Sathish
If I understand you correctly, and you want to change the “webhook” endpoint, you probably need to update the N8N_ENDPOINT_WEBHOOK
environment variable.
Please read the documentation Endpoints environment variables | n8n Docs carefully and choose the appropriate environment variable for your needs.
Hi @mohamed3nan actually i have changed the url by using using following code
$env:WEBHOOK_URL=‘http://localhost:5678’; npx n8n@latest
after updated the default webhook_url changed but in the suffix /webhook/ is adding by the default , i dont need that /webhook/ , can get my point ?
Yes, I see!
You can change this by editing the environment variable mentioned in the docs.
But as far as I know, you can’t remove it completely, logically, how would the system distinguish between production/test webhooks and other routes?
In this case, I think using a reverse proxy would be the way to go.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.