mirror of
https://github.com/samanhappy/mcphub.git
synced 2026-01-02 04:39:23 -05:00
feat: introduce runtime path (#132)
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
RegisterCredentials,
|
||||
ChangePasswordCredentials,
|
||||
} from '../types';
|
||||
import { getApiUrl } from '../utils/api';
|
||||
import { getApiUrl } from '../utils/runtime';
|
||||
|
||||
// Token key in localStorage
|
||||
const TOKEN_KEY = 'mcphub_token';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import { getToken } from './authService'; // Import getToken function
|
||||
import { getApiUrl } from '../utils/api';
|
||||
import { getApiUrl } from '../utils/runtime';
|
||||
|
||||
export interface LogEntry {
|
||||
timestamp: number;
|
||||
|
||||
Reference in New Issue
Block a user