chore: 替换渲染端地址

This commit is contained in:
wangxuefeng 2025-03-14 13:04:08 +08:00
parent 946d66e456
commit e135339574

View File

@ -2,6 +2,8 @@ import type { RouteRecordRaw } from 'vue-router';
import RendererAdapter from '@sy/vue3-renderer-adapter';
import { VITE_RENDERER_URL } from '#/constants';
const routes: RouteRecordRaw[] = [
{
path: '/static-file',
@ -21,7 +23,7 @@ const routes: RouteRecordRaw[] = [
title: '静态文件列表',
},
props: {
url: 'https://localhost:10012/?fileId=7pfr394d6&projectId=4',
url: `${VITE_RENDERER_URL}/?fileId=7pfr394d6&projectId=4`,
accessToken: localStorage.getItem('y-code-access-token'),
},
},