successfully connecting to prod
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import { Preferences } from '@capacitor/preferences';
|
||||
const env = import.meta.env
|
||||
|
||||
export default class util {
|
||||
|
||||
static HOST = env.VITE_API_URL
|
||||
|
||||
static async authFetch(url, options = {}) {
|
||||
const { value: token } = await Preferences.get({ key: 'auth_token' });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user