mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-13 22:29:25 +02:00
add login portal and traefik middleware auth for testing redirect login
This commit is contained in:
parent
0838679120
commit
87c4fc798f
14 changed files with 285 additions and 130 deletions
|
@ -1,9 +1,9 @@
|
|||
import axios from "axios";
|
||||
|
||||
const baseURL = `${window.location.protocol}//${window.location.host}/api/v1`;
|
||||
// const baseURL = `${window.location.protocol}//${window.location.host}/api/v1`;
|
||||
|
||||
export const api = axios.create({
|
||||
baseURL,
|
||||
baseURL: "http://localhost:3000/api/v1",
|
||||
timeout: 10000,
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue