From 5133d85f7a5500a5fdac8de4dd943d69097ab1bf Mon Sep 17 00:00:00 2001 From: Saturn-V Date: Tue, 17 Oct 2023 14:57:05 -0700 Subject: [PATCH] try alternative proxy config --- next.config.js | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/next.config.js b/next.config.js index 7409d8f..b1b9a49 100644 --- a/next.config.js +++ b/next.config.js @@ -2,24 +2,8 @@ module.exports = { async rewrites() { return [ { - has: [ - { - type: 'host', - value: 'rancher.vzxy.net', - }, - ], - source: '/:path*/', - destination: '/:path*/' // Proxy to Backend - }, - { - has: [ - { - type: 'host', - value: 'rancher.vzxy.net', - }, - ], - source: '/:path*/about', - destination: '/:path*/about' // Proxy to Backend + source: '/', + destination: '/api/v1/namespaces/sammwise/services/http%3sammwise%380/proxy' // Proxy to Backend }, { has: [