Skip to content

Commit a606af6

Browse files
authored
Collins (#322)
* refactor: update project components and API for voting functionality - Adjust layout and styling in ProjectsPage and ProjectCard components. - Enhance ProjectSidebar to include crowdfund data and voting logic. - Implement new API methods for voting, retrieving votes, and removing votes. - Update types for vote handling in the API. - Clean up unused code and improve responsiveness across components. * chore: update project dependencies and enhance project details layout * feat: added static api for staging
1 parent 321231a commit a606af6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/api/api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
22
import Cookies from 'js-cookie';
33
import { useAuthStore } from '@/lib/stores/auth-store';
44

5-
const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL;
5+
const API_BASE_URL = 'https://staging-api.boundlessfi.xyz/api';
6+
// const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL;
67
if (!API_BASE_URL) {
78
throw new Error('NEXT_PUBLIC_API_URL environment variable is not defined');
89
}

0 commit comments

Comments
 (0)