try to fix fast reload
This commit is contained in:
parent
739c019404
commit
f1b331d923
@ -4,6 +4,10 @@ const withNextPluginPreval = createNextPluginPreval();
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: false,
|
reactStrictMode: false,
|
||||||
|
// Explicitly allow znjj.wangxin93.eu.org for Dev Origin, per future Next.js requirement.
|
||||||
|
allowedDevOrigins: [
|
||||||
|
"znjj.wangxin93.eu.org",
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = withNextPluginPreval(nextConfig);
|
module.exports = withNextPluginPreval(nextConfig);
|
||||||
|
|||||||
@ -11,7 +11,7 @@ export interface ChatOverlayProps {
|
|||||||
isVisible: boolean;
|
isVisible: boolean;
|
||||||
position: { x: number; y: number };
|
position: { x: number; y: number };
|
||||||
onPositionChange: (position: { x: number; y: number }) => void;
|
onPositionChange: (position: { x: number; y: number }) => void;
|
||||||
containerRef: React.RefObject<HTMLDivElement>;
|
containerRef: React.RefObject<HTMLDivElement | null>;
|
||||||
onToggle: () => void;
|
onToggle: () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1179,7 +1179,7 @@ export function PhoneSimulator({
|
|||||||
<ChatOverlay
|
<ChatOverlay
|
||||||
agentAudioTrack={voiceAssistant.audioTrack}
|
agentAudioTrack={voiceAssistant.audioTrack}
|
||||||
accentColor={config.settings.theme_color}
|
accentColor={config.settings.theme_color}
|
||||||
inputDisabled={phoneMode === "important_message" || phoneMode === "hand_off"}
|
inputDisabled={phoneMode === "hand_off"}
|
||||||
isVisible={showChatOverlay}
|
isVisible={showChatOverlay}
|
||||||
position={chatOverlayPosition}
|
position={chatOverlayPosition}
|
||||||
onPositionChange={setChatOverlayPosition}
|
onPositionChange={setChatOverlayPosition}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user