|
@@ -4,7 +4,7 @@ import { webSiteFlagRelation, webSiteLanguageRelation } from "../utils/common";
|
|
|
export async function useFetchRaw<T = any>(url: string, options?: any) {
|
|
|
const config = useRuntimeConfig()
|
|
|
const { appType, serverPath } = config.public as any;
|
|
|
- // url = url.replace('/api/', serverPath)
|
|
|
+ url = url.replace('/api/', serverPath)
|
|
|
const newOptions = {
|
|
|
...(options ?? {}),
|
|
|
headers: {
|