mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-05 17:39:28 +00:00
CSRF prevention
This commit is contained in:
@@ -32,7 +32,8 @@ export function createApiClient({ env }: { env: env }): AxiosInstance {
|
||||
baseURL,
|
||||
timeout: 10000,
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
"Content-Type": "application/json",
|
||||
"X-CSRF-Token": "x-csrf-protection"
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user