Spaces:
Runtime error
Runtime error
File size: 467 Bytes
222dbfc adca714 222dbfc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import axios from 'axios';
import dotenv from "dotenv";
dotenv.config();
export const apiClientPW = axios.create({
baseURL: process.env.PW_API_URL,
headers: {
'x-propertyware-client-id': process.env.PW_CLIENTID,
'x-propertyware-client-secret': process.env.PW_CLIENTSECRET,
'x-propertyware-system-id': process.env.PW_ORG_ID,
},
});
export const apiClientAiService = axios.create({
baseURL: process.env.AI_SERVICE_URL
});
|