Skip to content

Commit

Permalink
feat : changed production envs
Browse files Browse the repository at this point in the history
  • Loading branch information
aswanthabam committed Mar 2, 2024
1 parent 2839fbe commit 161efd5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
VITE_API_URL=https://vijnana-backend.vercel.app/
VITE_API_URL=https://vijnana-backend.vercel.app/
VITE_API_URL_EVENT=https://gct-treasurehunt.vercel.app/
7 changes: 6 additions & 1 deletion src/apis/cryptaquest.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { publicRouter } from "./api";
import axios from "axios";

const api_url = import.meta.env.VITE_API_URL_EVENT;
const publicRouter = axios.create({
baseURL: api_url,
});

export const submitAnswer = async (participantId: string, answer: string) : Promise<SubmitResponse | null> => {
try{
Expand Down

0 comments on commit 161efd5

Please sign in to comment.