typicode / hotel

🏩 A simple process manager for developers. Start apps from your browser and access them using local domains
MIT License
9.98k stars 422 forks source link

wrong link when using a domain as tld #308

Open luxzeitlos opened 6 years ago

luxzeitlos commented 6 years ago

I'm using hotel with this config:

{
  "port": 80,
  "tld": "demo.dev.example.com",
  "host": "0.0.0.0"
}

the idea is to have hotel running on a server where I deploy gitlab review apps, and have access to them from the entire LAN.

I start my apps with hotel add "node start.js" --name $CI_BUILD_REF_SLUG. For not let $CI_BUILD_REF_SLUG be awesome-feature.

Everything works like a charm, but one thing. I can access my apps under awesome-feature.demo.dev.example.com, and hotel unter demo.dev.example.com". However the the link to the app on the hotel page is to awesome-feature.com, which is wrong.