Bad location: api is reserved
Solved
Support
-
@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