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