Update page.tsx
This commit is contained in:
parent
edc01c7dae
commit
3130f000d6
|
|
@ -1,16 +1,15 @@
|
||||||
'use client'
|
'use client'
|
||||||
|
|
||||||
import { LiveImageShape, LiveImageShapeUtil } from '@/components/LiveImageShapeUtil'
|
import { LiveImageShape, LiveImageShapeUtil } from '@/components/LiveImageShapeUtil'
|
||||||
import * as fal from '@fal-ai/serverless-client'
|
|
||||||
import { Editor, Tldraw, useEditor } from '@tldraw/tldraw'
|
import { Editor, Tldraw, useEditor } from '@tldraw/tldraw'
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { LiveImageTool, MakeLiveButton } from '../components/LiveImageTool'
|
import { LiveImageTool, MakeLiveButton } from '../components/LiveImageTool'
|
||||||
|
|
||||||
fal.config({
|
// fal.config({
|
||||||
requestMiddleware: fal.withProxy({
|
// requestMiddleware: fal.withProxy({
|
||||||
targetUrl: '/api/fal/proxy',
|
// targetUrl: '/api/fal/proxy',
|
||||||
}),
|
// }),
|
||||||
})
|
// })
|
||||||
|
|
||||||
const shapeUtils = [LiveImageShapeUtil]
|
const shapeUtils = [LiveImageShapeUtil]
|
||||||
const tools = [LiveImageTool]
|
const tools = [LiveImageTool]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue