Skip to content

Commit

Permalink
Added Vite env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ihsraham committed Oct 21, 2024
1 parent 5e8eaea commit 2dd0ab9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function App() {
const getIdTokenFromServer = async (initDataRaw: string) => {
const isMocked = !!sessionStorage.getItem("____mocked");

const response = await fetch(`${process.env.SERVER_URL}/auth/telegram`, {
const response = await fetch(`${import.meta.env.VITE_SERVER_URL}/auth/telegram`, {
method: "POST",
headers: {
"Content-Type": "application/json",
Expand Down

0 comments on commit 2dd0ab9

Please sign in to comment.