Solved Bad location: api is reserved
-
why is this reserved for ALL domains? I want to host an app at api.*****.com but I am blocked from that.
-
@tamayers This is a left-over from the past. We had some plans for making api.<domain> as the REST API and my.<domain> as the UI/dashboard. I have removed the check now.
You can do this:
- Edit the file
/home/yellowtent/box/src/domains.js
. Infunction validateHostname
, there is an array RESERVED_LOCATIONS. Just remove the first lineconstants.API_LOCATION
from there. And thensystemctl restart box
.
- Edit the file
-
-
Thanks @girish!