fix: portal auth response shape + API URL fallback (FIBEROPS-248)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import axios from 'axios';
|
||||
|
||||
const portalApi = axios.create({
|
||||
baseURL: process.env.NEXT_PUBLIC_API_URL || 'https://fiberops-api.juankibin.space',
|
||||
baseURL: process.env.NEXT_PUBLIC_API_URL || 'http://192.168.1.167:3001',
|
||||
});
|
||||
|
||||
portalApi.interceptors.request.use((config) => {
|
||||
|
||||
Reference in New Issue
Block a user