Skip to content

Commit

Permalink
UPDATE: action.json
Browse files Browse the repository at this point in the history
  • Loading branch information
anisharaz committed Aug 21, 2024
1 parent 76b4b6e commit 8588a16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions app/actions.json/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export function GET(req: NextRequest) {
pathPattern: "/viewblink/**",
apiPath: "/api/blink/**",
},
{
pathPattern: "/**",
apiPath: "/**",
},
// {
// pathPattern: "/dashboard/blinks/**",
// apiPath: "/api/createblinklive/**",
// },
],
},
{
Expand Down
4 changes: 2 additions & 2 deletions app/dashboard/blinks/[blinkid]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ async function CreateBlinkForm({ params }: { params: { blinkid: string } }) {
});

const blink_url = blinkData?.productionready
? `${process.env.NEXTAUTH_URL}/api/blink/${params.blinkid}`
: `${process.env.NEXTAUTH_URL}/api/createblinklive/${params.blinkid}`;
? `/api/blink/${params.blinkid}`
: `/api/createblinklive/${params.blinkid}`;
return (
<div className="lg:flex gap-5 justify-around">
<div className="main-child-1 p-2 w-full">
Expand Down

0 comments on commit 8588a16

Please sign in to comment.