Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
import Cookies from 'js-cookie';
import { useAuthStore } from '@/lib/stores/auth-store';

// const API_BASE_URL = 'https://staging-api.boundlessfi.xyz/api';
const API_BASE_URL = 'http://localhost:8000/api';
const API_BASE_URL = 'https://staging-api.boundlessfi.xyz/api';
// const API_BASE_URL = 'http://localhost:8000/api';
// const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL;
if (!API_BASE_URL) {
throw new Error('NEXT_PUBLIC_API_URL environment variable is not defined');
Expand Down
4 changes: 3 additions & 1 deletion lib/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export const config = {
apiUrl: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8000/api',
apiUrl:
process.env.NEXT_PUBLIC_API_URL ||
'https://staging-api.boundlessfi.xyz/api',
};

export const socialLinks = {
Expand Down
Loading