Skip to content

Commit

Permalink
Merge pull request #35 from Devansh3712/vite-env
Browse files Browse the repository at this point in the history
  • Loading branch information
zmc authored Jul 26, 2023
2 parents 53aa517 + 0f574ec commit 3a30b59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/paddles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import type { UseQueryResult } from "@tanstack/react-query";
import type { GetURLParams, Run, Job } from "./paddles.d";

const PADDLES_SERVER =
import.meta.env.REACT_APP_PADDLES_SERVER ||
"https://paddles.front.sepia.ceph.com";
import.meta.env.VITE_PADDLES_SERVER || "https://paddles.front.sepia.ceph.com";

function getURL(endpoint: string, params?: GetURLParams) {
// Because paddles' API is clunky, we have to do extra work. If it were
Expand Down

0 comments on commit 3a30b59

Please sign in to comment.