typicode / hotel

🏩 A simple process manager for developers. Start apps from your browser and access them using local domains

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wrong link when using a domain as tld

luxzeitlos opened this issue · comments

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.