feat: update ui

This commit is contained in:
2024-11-08 18:24:08 +07:00
parent ca3fe7150b
commit 887cb64878
19 changed files with 45204 additions and 57 deletions
+8
View File
@@ -1,2 +1,10 @@
import { ofetch } from "ofetch";
export const BASE_API_URL = process.env.EXPO_PUBLIC_API_URL || ""; //"http://10.0.0.100:3000";
export const BASE_WS_URL = BASE_API_URL.replace("http", "ws");
const api = ofetch.create({
baseURL: BASE_API_URL,
});
export default api;