Whereis routes.rb?

Hello, I have installed discourse with docker and I have been looking for the routes.rb file to change the endpoint to email processing as It is said here https://meta.discourse.org/t/simple-plugin-that-offers-an-http-post-endpoint-to-mailgun-or-any-other-mail-service/37001/2

However, I can not find the directory where is that file. Can you please help me to manage this problem?

Thank you in advance :slight_smile:

The routes are defined in /var/www/discourse/config/routes.rb, in the default image. However, you may wish to read this post before installing that plugin.


But how can I modify that endpoint? Or customize it to use Sendgrid emails?

You would build a plugin that registers the custom route you need