feat: share to ShareGPT

This commit is contained in:
Yidadaa
2023-05-25 01:04:37 +08:00
parent 4ca34e0436
commit 3e65ef3bea
6 changed files with 173 additions and 28 deletions

View File

@@ -11,6 +11,10 @@ const nextConfig = {
source: "/google-fonts/:path*",
destination: "https://fonts.googleapis.com/:path*",
},
{
source: "/sharegpt",
destination: "https://sharegpt.com/api/conversations",
},
];
const apiUrl = process.env.API_URL;