I'm developing a web application with Aurelia. I had a problem with Aurelia and Whatwg-fetch.
The API's relative url is api/post/load/{id}. When I use the fetch client to call this API, I think it gets the current url to call (http://localhost:9000/detail/api/post/load/{id}). I don't know why it happens. Sometime it calls the API's url correctly, other times it does not.