fix: missing subroute (#3121)
This commit is contained in:
parent
5892ded567
commit
73d28d1fc3
@ -69,6 +69,7 @@ import MyIcon from '@fastgpt/web/components/common/Icon';
|
|||||||
import { mergeChatResponseData } from '@fastgpt/global/core/chat/utils';
|
import { mergeChatResponseData } from '@fastgpt/global/core/chat/utils';
|
||||||
import { formatTimeToChatItemTime } from '@fastgpt/global/common/string/time';
|
import { formatTimeToChatItemTime } from '@fastgpt/global/common/string/time';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
import { getWebReqUrl } from '@fastgpt/web/common/system/utils';
|
||||||
|
|
||||||
const ResponseTags = dynamic(() => import('./components/ResponseTags'));
|
const ResponseTags = dynamic(() => import('./components/ResponseTags'));
|
||||||
const FeedbackModal = dynamic(() => import('./components/FeedbackModal'));
|
const FeedbackModal = dynamic(() => import('./components/FeedbackModal'));
|
||||||
@ -1029,7 +1030,7 @@ const ChatBox = (
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex flexDirection={'column'} h={'100%'} position={'relative'}>
|
<Flex flexDirection={'column'} h={'100%'} position={'relative'}>
|
||||||
<Script src="/js/html2pdf.bundle.min.js" strategy="lazyOnload"></Script>
|
<Script src={getWebReqUrl('/js/html2pdf.bundle.min.js')} strategy="lazyOnload"></Script>
|
||||||
{/* chat box container */}
|
{/* chat box container */}
|
||||||
{RenderRecords}
|
{RenderRecords}
|
||||||
{/* message input */}
|
{/* message input */}
|
||||||
|
|||||||
@ -11,6 +11,7 @@ import PointsCard from './components/Points';
|
|||||||
import FAQ from './components/FAQ';
|
import FAQ from './components/FAQ';
|
||||||
import { getToken } from '@/web/support/user/auth';
|
import { getToken } from '@/web/support/user/auth';
|
||||||
import Script from 'next/script';
|
import Script from 'next/script';
|
||||||
|
import { getWebReqUrl } from '@fastgpt/web/common/system/utils';
|
||||||
|
|
||||||
const PriceBox = () => {
|
const PriceBox = () => {
|
||||||
const { userInfo } = useUserStore();
|
const { userInfo } = useUserStore();
|
||||||
@ -25,7 +26,7 @@ const PriceBox = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Script src="/js/qrcode.min.js" strategy="lazyOnload"></Script>
|
<Script src={getWebReqUrl('/js/qrcode.min.js')} strategy="lazyOnload"></Script>
|
||||||
<Flex
|
<Flex
|
||||||
h={'100%'}
|
h={'100%'}
|
||||||
flexDir={'column'}
|
flexDir={'column'}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user