mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-27 13:36:22 -04:00
consistent arrow functions
This commit is contained in:
39 files changed
+121
-126
No files matched your search
+7
-17
@@ -40,23 +40,13 @@ const nextConfig: NextConfig = {
|
||||
],
|
||||
},
|
||||
],
|
||||
rewrites: async () => ({
|
||||
beforeFiles: [
|
||||
{
|
||||
// https://github.com/jakejarvis/tweets
|
||||
source: "/tweets/:path*",
|
||||
destination: "https://tweets-khaki.vercel.app/:path*",
|
||||
},
|
||||
],
|
||||
afterFiles: [
|
||||
{
|
||||
// access security.txt, etc at both /security.txt and /.well-known/security.txt
|
||||
source: "/.well-known/:slug.txt",
|
||||
destination: "/:slug.txt",
|
||||
},
|
||||
],
|
||||
fallback: [],
|
||||
}),
|
||||
rewrites: async () => [
|
||||
{
|
||||
// https://github.com/jakejarvis/tweets
|
||||
source: "/tweets/:path*",
|
||||
destination: "https://tweets-khaki.vercel.app/:path*",
|
||||
},
|
||||
],
|
||||
redirects: async () => [
|
||||
{ source: "/y2k", destination: "https://y2k.pages.dev", permanent: false },
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user