implement basic login
This commit is contained in:
parent
bdd90b50d9
commit
7a6f5b5bcd
18 changed files with 222 additions and 35 deletions
|
|
@ -1,3 +1,12 @@
|
|||
|
||||
const BASE_URL = import.meta.env.VITE_API_BASE;
|
||||
|
||||
export function createBasicHeader() : Headers {
|
||||
const headers = new Headers();
|
||||
//headers.set('Access-Control-Allow-Origin', '*');
|
||||
return headers;
|
||||
}
|
||||
|
||||
export function setContentTypeHeaderJson(headers: Headers){
|
||||
return headers.set("Content-Type", "application/json");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue