mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: pass headers correctly to downloadURL
This commit is contained in:
parent
070340b34f
commit
e1ef8a9193
4 changed files with 18 additions and 9 deletions
|
@ -64,6 +64,14 @@ export class HydraApi {
|
|||
}
|
||||
}
|
||||
|
||||
static handleSignOut() {
|
||||
this.userAuth = {
|
||||
authToken: "",
|
||||
refreshToken: "",
|
||||
expirationTimestamp: 0,
|
||||
};
|
||||
}
|
||||
|
||||
static async setupApi() {
|
||||
this.instance = axios.create({
|
||||
baseURL: import.meta.env.MAIN_VITE_API_URL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue