Closed kubukoz closed 1 week ago
Isn't this a carnal sin of Smithy4s to use relative URLs in endpoint definitions? :P
Anyways, should be an easy fix - let me know if you want to do this, or I'll do it myself in a couple of days
Isn't this a carnal sin of Smithy4s to use relative URLs in endpoint definitions? :P
I'm using Vite as a proxy to the backend so I don't have to enable CORS, in the real app it'll probably be proxied as well - but the "actual" backend doesn't have the prefix 😅
I'm looking into this.
To reproduce:
Open the HTML file, see network tab in the browser, look for the request path.
https://httpbin.org/api/get
https://httpbin.org//api/get