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: [