Skip to content

Commit

Permalink
fix example import
Browse files Browse the repository at this point in the history
  • Loading branch information
blaine-arcjet committed Jun 11, 2024
1 parent 41b5ee8 commit aeb2511
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/nextjs-14-app-dir-rl/app/api/custom_timeout/route.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import arcjet, {
validateEmail,
createNextRemoteClient,
} from "@arcjet/next";
import arcjet, { validateEmail, createRemoteClient } from "@arcjet/next";
import { baseUrl } from "@arcjet/env";
import { NextResponse } from "next/server";

const client = createNextRemoteClient({
const client = createRemoteClient({
baseUrl: baseUrl(process.env),
timeout: 10,
});
Expand Down

0 comments on commit aeb2511

Please sign in to comment.