Skip to content

Commit

Permalink
Update auth.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush259 committed Nov 12, 2024
1 parent 931f671 commit 4a82bcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ node_modules
dist
dist-ssr
*.local
.env

# Editor directories and files
.vscode/*
Expand Down
2 changes: 1 addition & 1 deletion src/app/auth.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios from "axios";

const API_URL = "http://localhost:5000";
const API_URL = import.meta.env.VITE_API_URL;

// Set access token in local storage.
const setAccessToken = (accessToken) => {
Expand Down

0 comments on commit 4a82bcd

Please sign in to comment.