#351·hotel

Add exceptions for Top Level Domains (TLD)

Author: fraserc12Created Feb 6, 2020Updated May 16, 2020

This is my config file:

{
  "port": 2000,
  "host": "127.0.0.1",
  "timeout": 5000,
  "tld": "dev.appname.org",
  "proxy": false
}

This work great as we deploy a couple applications locally and access using https://local.dev.appname.org for example

Problem: We have an application deployed on a remote server we access that has the domain https://sandbox.dev.appname.org

Which will obviously try route through Hotel when we try to access it locally and causes a server not defined error

Question: Is there a way to add an exclusion to the tld configuration? So that we can keep our current set up and still have Hotel running?

Thanks