Parcourir la source

/v2/siteinfo/en -> /v2/site-info/en

visuddhinanda il y a 1 an
Parent
commit
985e265e0d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      dashboard-v4/dashboard/src/load.ts

+ 1 - 1
dashboard-v4/dashboard/src/load.ts

@@ -73,7 +73,7 @@ export const grammarTermFetch = () => {
 };
 
 const init = () => {
-  get<ISiteInfoResponse | IErrorResponse>("/v2/siteinfo/en").then(
+  get<ISiteInfoResponse | IErrorResponse>("/v2/site-info/en").then(
     (response) => {
       if ("title" in response) {
         const it: ISite = {