Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update next.config.js

Steven Teyf645990b0293
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 1c73f16a4a..60688e0c7c 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -11,8 +11,6 @@ const REDIRECT_SEGMENTS = [
module.exports = {
reactStrictMode: false,
experimental: {
- useDeploymentId: true,
- useDeploymentIdServerActions: true,
serverComponentsExternalPackages: [
"@react-email/components",
"@react-email/render",
@@ -39,6 +37,12 @@ module.exports = {
},
images: {
remotePatterns: [
+ {
+ hostname: "assets.dub.co", // for Dub's static assets
+ },
+ {
+ hostname: "dubassets.com", // for Dub's user generated images
+ },
{
hostname: "www.google.com",
},
@@ -57,9 +61,6 @@ module.exports = {
{
hostname: "pbs.twimg.com",
},
- {
- hostname: "assets.dub.co",
- },
{
hostname: "lh3.googleusercontent.com",
},
@@ -69,9 +70,6 @@ module.exports = {
{
hostname: "media.cleanshot.cloud", // only for staging purposes
},
- {
- hostname: "dubassets.com",
- }
],
},
async headers() {