Skip to content

Commit

Permalink
configure for cloudflare pages
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrickaby committed Apr 29, 2024
1 parent 33b7c04 commit cc04a0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/*
18
2 changes: 2 additions & 0 deletions app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import Image from 'next/image'
import notFound from '../public/not-found.webp'

export const runtime = 'edge'

/**
* The 404 component.
*/
Expand Down
2 changes: 2 additions & 0 deletions app/r/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import {PageProps} from '@/lib/types'
import type {Metadata} from 'next'
import Link from 'next/link'

export const runtime = 'edge'

/**
* Generate metadata.
*
Expand Down

0 comments on commit cc04a0e

Please sign in to comment.