-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: grant links, explorer logs and flatten blocks
- Loading branch information
1 parent
043bf82
commit bc9b654
Showing
17 changed files
with
131 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { revalidatePath } from 'next/cache' | ||
import { NextRequest, NextResponse } from 'next/server' | ||
|
||
export async function GET(request: NextRequest) { | ||
const path = request.nextUrl.searchParams.get('path') | ||
|
||
if (path) { | ||
revalidatePath(path) | ||
return NextResponse.json({ revalidated: true, now: Date.now() }) | ||
} | ||
|
||
return NextResponse.json({ | ||
revalidated: false, | ||
now: Date.now(), | ||
message: 'Missing path to revalidate', | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { NextRequest, NextResponse } from 'next/server' | ||
import { revalidateTag } from 'next/cache' | ||
|
||
export async function GET(request: NextRequest) { | ||
const tag = request.nextUrl.searchParams.get('tag') | ||
|
||
if (tag) { | ||
revalidateTag(tag) | ||
return NextResponse.json({ revalidated: true, now: Date.now() }) | ||
} | ||
|
||
return NextResponse.json({ | ||
revalidated: false, | ||
now: Date.now(), | ||
message: 'Missing tag to revalidate', | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
libs/design-system/src/site/SitePageHead.tsx → apps/website/components/SitePageHead.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,8 @@ export const webLinks = { | |
twitterHandle: '@sia__foundation', | ||
reddit: 'https://reddit.com/r/siacoin', | ||
forum: 'https://forum.sia.tech/', | ||
forumGrants: 'https://forum.sia.tech/c/grants/8', | ||
forumGrants: 'https://forum.sia.tech/c/grants/', | ||
forumGrantsProposed: 'https://forum.sia.tech/c/grants/proposed/', | ||
merch: 'https://siagear.tech/', | ||
email: '[email protected]', | ||
benchmarks: 'https://benchmarks.sia.tech', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters