always use edge
This commit is contained in:
parent
67a5689e4b
commit
4d03e43ee6
3 changed files with 3 additions and 3 deletions
|
|
@ -1,2 +1,2 @@
|
||||||
export { GET, POST } from '@/auth'
|
export { GET, POST } from '@/auth'
|
||||||
// export const runtime = 'edge'
|
export const runtime = 'edge'
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import { auth } from '@/auth'
|
||||||
import { getChat } from '@/app/actions'
|
import { getChat } from '@/app/actions'
|
||||||
import { Chat } from '@/components/chat'
|
import { Chat } from '@/components/chat'
|
||||||
|
|
||||||
// export const runtime = 'edge'
|
export const runtime = 'edge'
|
||||||
export const preferredRegion = 'home'
|
export const preferredRegion = 'home'
|
||||||
|
|
||||||
export interface ChatPageProps {
|
export interface ChatPageProps {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import { getSharedChat } from '@/app/actions'
|
||||||
import { ChatList } from '@/components/chat-list'
|
import { ChatList } from '@/components/chat-list'
|
||||||
import { FooterText } from '@/components/footer'
|
import { FooterText } from '@/components/footer'
|
||||||
|
|
||||||
// export const runtime = 'edge'
|
export const runtime = 'edge'
|
||||||
export const preferredRegion = 'home'
|
export const preferredRegion = 'home'
|
||||||
|
|
||||||
interface SharePageProps {
|
interface SharePageProps {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue