How do I access the beta release of the new Common Runtime Router 2.0

Issue

You want to enable or disable the new router for Heroku Common Runtime applications .

Resolution

Enable the Router

To use the new router, enable it on your app via a Heroku Labs command:

$ heroku labs:enable http-routing-2-dot-0 -a <app name>

After enabling this flag, the application starts receiving traffic through the new Common Runtime router.

Disable the Router

Disable the flag to stop using the new router. You don't need to do anything else to return your app to its previous routing behavior.

$ heroku labs:disable http-routing-2-dot-0 -a <app name>

Validate if Router 2.0 is enabled

The command below will help you validate if the application is enabled with router 2.0

$ heroku labs -a <app> | grep http-routing-2-dot-0

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support