Skip to content
Open
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
14 changes: 8 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
node_modules
.next
.DS_Store
package-lock.json
pnpm-lock.yaml

node_modules
.next
.DS_Store
package-lock.json
pnpm-lock.yaml

.vercel
config.bat
Binary file modified bun.lockb
Binary file not shown.
50 changes: 29 additions & 21 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
import { NextConfig } from 'next';

const nextConfig: NextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "i.scdn.co",
port: "",
pathname: "/image/**",
},
{
protocol: "https",
hostname: "cdn.discordapp.com",
port: "",
pathname: "**",
},
],
},
};

import { NextConfig } from 'next';

const nextConfig: NextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "i.scdn.co",
port: "",
pathname: "/image/**",
},
{
protocol: "https",
hostname: "cdn.discordapp.com",
port: "",
pathname: "**",
},
],
},

async rewrites() {
return [
{
source: '/r/:path',
destination: '/r/:path.json',
},
];
},
};
export default nextConfig;
Loading