Skip to content

Commit 3f380b5

Browse files
committed
fix: handle custom publish dir for api routes
1 parent 6789f37 commit 3f380b5

File tree

5 files changed

+141
-82
lines changed

5 files changed

+141
-82
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
2+
3+
export default function handler(req, res) {
4+
res.status(200).json({
5+
body: 'Hello world',
6+
});
7+
}

0 commit comments

Comments
 (0)