summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clients/api_client.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clients/api_client.ts b/src/clients/api_client.ts
index e544f16..6d328d6 100644
--- a/src/clients/api_client.ts
+++ b/src/clients/api_client.ts
@@ -2,7 +2,8 @@ import axios, { AxiosResponse } from "axios";
import Token from "../lib/token";
export class ApiClient {
- readonly url = "http://localhost:3000/api";
+ readonly url = import.meta.env.VITE_API_URL;
+ //readonly url = "http://localhost:3000/api";
public readonly token = new Token();
async authenticatedGet(path: string) {