Put all URLs under /api/
This commit is contained in:
@@ -51,7 +51,7 @@ where
|
||||
{
|
||||
use web_sys::RequestMode;
|
||||
|
||||
Request::post("/graphql/")
|
||||
Request::post("/api/graphql/")
|
||||
.mode(RequestMode::Cors)
|
||||
.json(&body)?
|
||||
.send()
|
||||
|
||||
Reference in New Issue
Block a user