From ab5f226a81a39ba835cf2217ad6f82b386edc169 Mon Sep 17 00:00:00 2001 From: manasmanohar <21006907+manasmanohar@users.noreply.github.com> Date: Tue, 4 Feb 2025 09:08:28 +0530 Subject: [PATCH] fix: add asset prefix and correct json Signed-off-by: manasmanohar <21006907+manasmanohar@users.noreply.github.com> --- next.config.js | 3 +++ vercel.json | 20 -------------------- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/next.config.js b/next.config.js index 77a9e5f3..61154c58 100644 --- a/next.config.js +++ b/next.config.js @@ -30,6 +30,9 @@ module.exports = withBundleAnalyzer({ // }, ]; }, + + // Add assetPrefix to ensure the correct loading of assets + assetPrefix: 'https://keploy-websites.vercel.app', images: { remotePatterns: [ { diff --git a/vercel.json b/vercel.json index a1a656ee..dac8449d 100644 --- a/vercel.json +++ b/vercel.json @@ -1,25 +1,5 @@ { "rewrites": [ - { - "source":"/devscribe", - "destination": "https://keploy-websites.vercel.app/devscribe" - }, - { - "source":"/code-coverage", - "destination": "https://keploy-websites.vercel.app/code-coverage" - }, - { - "source":"/unit-test-generator", - "destination": "https://keploy-websites.vercel.app/unit-test-generator" - }, - { - "source":"/test-case-generator", - "destination": "https://keploy-websites.vercel.app/test-case-generator" - }, - { - "source":"/test-data-generator", - "destination": "https://keploy-websites.vercel.app/test-data-generator" - }, { "source": "/blog", "destination": "https://blog-website-phi-eight.vercel.app/blog"