Skip to content

Commit

Permalink
add path rewrites
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric committed Jun 16, 2023
1 parent e74b064 commit 4a3cb5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ const nextConfig = {
source: "/attachments/:path*",
destination: "https://cdn.discordapp.com/attachments/:path*",
},
{
source: "/ephemeral-attachments/:path*",
destination: "https://cdn.discordapp.com/ephemeral-attachments/:path*",
},
];
},
};
Expand Down

1 comment on commit 4a3cb5d

@vercel
Copy link

@vercel vercel bot commented on 4a3cb5d Jun 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.