feat: introduce runtime path (#132)

This commit is contained in:
samanhappy
2025-05-27 18:34:23 +08:00
committed by GitHub
parent 268ce5cce6
commit a1047321d1
17 changed files with 226 additions and 46 deletions

View File

@@ -2,7 +2,7 @@ import { useState, useCallback, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import { ApiResponse } from '@/types';
import { useToast } from '@/contexts/ToastContext';
import { getApiUrl } from '../utils/api';
import { getApiUrl } from '../utils/runtime';
// Define types for the settings data
interface RoutingConfig {