Skip to content

Commit f43396c

Browse files
authored
Merge pull request #273 from framesjs/fix/next-vanilla-template-missing-base-path
fix: add missing basePath to next template
2 parents 0865ea1 + 445cf3a commit f43396c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/clever-impalas-notice.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-frames": patch
3+
---
4+
5+
fix: missing basePath in next template

templates/next/app/frames/route.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { farcasterHubContext } from "frames.js/middleware";
22
import { createFrames, Button } from "frames.js/next";
33

44
const frames = createFrames({
5+
basePath: '/frames',
56
middleware: [
67
farcasterHubContext({
78
// remove if you aren't using @frames.js/debugger or you just don't want to use the debugger hub

0 commit comments

Comments
 (0)