Zimo před 3 hodinami
rodič
revize
a1b852e929
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/config/axios/index.ts

+ 1 - 1
src/config/axios/index.ts

@@ -13,7 +13,7 @@ const request = (option: any) => {
     ...otherOption,
     headers: {
       'Content-Type': headersType || default_headers,
-      Lang: langStore.v,
+      Lang: langStore.v.replace(/"/g, ''),
       ...headers
     }
   })