feat: oapi credenials include
All checks were successful
Build and Deploy Go App / build (push) Successful in 5m50s
Build and Deploy Go App / deploy (push) Successful in 35s

This commit is contained in:
nihonium 2025-12-04 11:52:18 +03:00
parent 128a33824a
commit fc2fa6b978
Signed by: nihonium
GPG key ID: 0251623741027CFC

View file

@ -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;