mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-23 05:01:49 +10:00
fix(i18n): load locales from file system, instead of http-backend
This commit is contained in:
@ -13,11 +13,11 @@ export type ServerError = {
|
||||
};
|
||||
|
||||
const axios = _axios.create({
|
||||
baseURL: `${process.env.NEXT_PUBLIC_SERVER_URL}/api`,
|
||||
baseURL: `${process.env.serverUrl}/api`,
|
||||
});
|
||||
|
||||
export const uninterceptedAxios = _axios.create({
|
||||
baseURL: `${process.env.NEXT_PUBLIC_SERVER_URL}/api`,
|
||||
baseURL: `${process.env.serverUrl}/api`,
|
||||
});
|
||||
|
||||
axios.interceptors.request.use((config) => {
|
||||
|
||||
Reference in New Issue
Block a user