add runtime export

This commit is contained in:
Jonas Schell 2024-08-23 10:44:14 +02:00
parent fa5a38d6a8
commit 40b44fa14e

View File

@ -3,6 +3,8 @@ import { randomUUID } from 'crypto';
import { AccessToken, AccessTokenOptions, VideoGrant } from 'livekit-server-sdk';
import { NextRequest, NextResponse } from 'next/server';
export const runtime = 'edge';
const API_KEY = process.env.LIVEKIT_API_KEY;
const API_SECRET = process.env.LIVEKIT_API_SECRET;
const LIVEKIT_URL = process.env.LIVEKIT_URL;