mirror of
https://github.com/logos-storage/metrics.git
synced 2026-01-02 13:33:09 +00:00
fix: build metrics on cloudflare pages
This commit is contained in:
parent
cae2523e10
commit
c5991af0e7
@ -3,3 +3,6 @@
|
||||
export default function handler(req, res) {
|
||||
res.status(200).json({ name: "John Doe" });
|
||||
}
|
||||
|
||||
// https://nextjs.org/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes
|
||||
export const runtime = 'edge';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user