Skip to content

Commit

Permalink
remove the server side of things
Browse files Browse the repository at this point in the history
  • Loading branch information
XuhuiZhou committed Sep 11, 2024
1 parent cdf3599 commit e0b406b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 184 deletions.
106 changes: 0 additions & 106 deletions app/t/[id]/opengraph-image.tsx

This file was deleted.

56 changes: 0 additions & 56 deletions app/t/[id]/page.tsx

This file was deleted.

44 changes: 22 additions & 22 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
serverActions: true,
},
output: 'export',
images: {
unoptimized: true,
reactStrictMode: true,
domains: [
"xd2kcvzsdpeyx1gu.public.blob.vercel-storage.com",
"replicate.delivery",
],
},
async redirects() {
return [
{
source: "/github",
destination: "https://github.com/steven-tey/sotopia",
permanent: false,
},
{
source: "/deploy",
destination: "https://vercel.com/templates/next.js/sotopia",
permanent: false,
},
{
source: "/t",
destination: "/",
permanent: false,
},
];
},
// async redirects() {
// return [
// {
// source: "/github",
// destination: "https://github.com/steven-tey/sotopia",
// permanent: false,
// },
// {
// source: "/deploy",
// destination: "https://vercel.com/templates/next.js/sotopia",
// permanent: false,
// },
// {
// source: "/t",
// destination: "/",
// permanent: false,
// },
// ];
// },
};

module.exports = nextConfig;

0 comments on commit e0b406b

Please sign in to comment.