Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: [main]
pull_request:
workflow_dispatch:

permissions:
contents: read
Expand All @@ -18,7 +19,8 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 20.19
check-latest: true
cache: npm

- name: Install
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ common path:

1. Push the repo to GitHub (or fork this one).
2. Go to [vercel.com/new](https://vercel.com/new) and import the repo.
Next.js 14 is auto-detected — leave the build/output settings on default.
Next.js 15 is auto-detected — leave the build/output settings on default.
3. Click **Deploy**. First build takes ~30 seconds.
4. Visit your `*.vercel.app` URL. All four tools should work immediately.

Expand Down Expand Up @@ -257,7 +257,7 @@ push and pull request.

## Stack

- **Next.js 14** (App Router) on **Vercel**
- **Next.js 15** (App Router) on **Vercel**
- **TypeScript 5** strict mode
- **Tailwind 3** with a small dark palette (`ink-*` + `accent-*`)
- **Web Crypto API** for the JWT crack (no Node crypto in the browser)
Expand Down
4 changes: 2 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export const metadata: Metadata = {
robots: { index: true, follow: true },
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
const nonce = headers().get("x-nonce") ?? undefined;
export default async function RootLayout({ children }: { children: React.ReactNode }) {
const nonce = (await headers()).get("x-nonce") ?? undefined;
return (
<html lang="en">
<body className="font-sans antialiased" data-nonce={nonce}>
Expand Down
Loading
Loading