Skip to content

Commit

Permalink
chore: edge is not experimental now!
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Oct 27, 2023
1 parent 063bd02 commit 5785de9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions api/[owner]/[app]/[version].ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ const REDIRECT = 302
const NOT_FOUND = 404

export const config = {
runtime: 'experimental-edge',
runtime: 'edge',
}

export default async (req: Request): Promise<Response> => {
const url = new URL(req.url, 'https://example.com')

const searchParams = url.searchParams
const { searchParams } = new URL(req.url)

const owner = searchParams.get('owner')!
const app = searchParams.get('app')!
Expand Down

0 comments on commit 5785de9

Please sign in to comment.