Put all URLs under /api/

This commit is contained in:
2024-07-05 20:00:52 -07:00
parent 714e73aeb1
commit 5fc272054c
6 changed files with 26 additions and 18 deletions

View File

@@ -51,7 +51,7 @@ where
{
use web_sys::RequestMode;
Request::post("/graphql/")
Request::post("/api/graphql/")
.mode(RequestMode::Cors)
.json(&body)?
.send()