hotel
hotel copied to clipboard
Multiple dots in tld being ignored
Trying to use multiple dots in the tld (e.g. "tld": "foo.bar"
)
Everything appears to work fine as long as you navigate directly to the correct app url (e.g. http://biz.foo.bar). However, the frontend strips anything after the first dot in the tld.
https://github.com/typicode/hotel/blame/master/src/front/App.vue#L204
Is there a reason to strip out multiple dots?
Hi @CaryLandholt,
I must say I haven't thought about using dots in tld actually. And not sure if a tld can have dots.
But you can set the tld to bar
, name your app foo
and access it using *.foo.bar
(wildcard subdomains are supported).
Or you can directly name your app biz.foo
.
hotel add <cmd> --name foo