Pasado de paths de tsconfig a package.json por problemas que daba con yaml
14 lines
381 B
TypeScript
14 lines
381 B
TypeScript
import { HttpClient } from "sim-shared/infrastructure/HTTPClient.js"
|
|
import { JWTService } from "../aplication/JWT.service.js"
|
|
import { env } from "./env/index.js"
|
|
|
|
const OBJ_BASE_URL = env.OBJ_BASE_URL
|
|
|
|
export const httpInstance = new HttpClient({
|
|
baseURL: OBJ_BASE_URL,
|
|
headers: {
|
|
"content-type": " application/json; charset=utf-8"
|
|
},
|
|
jwtManager: new JWTService()
|
|
})
|