feat: oapi credenials include
This commit is contained in:
parent
128a33824a
commit
fc2fa6b978
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ import { Header } from "./components/Header/Header";
|
||||||
import { OpenAPI } from "./api";
|
import { OpenAPI } from "./api";
|
||||||
|
|
||||||
OpenAPI.WITH_CREDENTIALS = true
|
OpenAPI.WITH_CREDENTIALS = true
|
||||||
|
OpenAPI.CREDENTIALS = 'include'
|
||||||
|
|
||||||
const App: React.FC = () => {
|
const App: React.FC = () => {
|
||||||
const username = localStorage.getItem("username") || undefined;
|
const username = localStorage.getItem("username") || undefined;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue