diff --git a/web/next.config.ts b/web/next.config.ts index 02f5827..d1565b7 100644 --- a/web/next.config.ts +++ b/web/next.config.ts @@ -6,11 +6,24 @@ const nextConfig: NextConfig = { rewrites: async () => { return [ { - source: "/v1/submissions/:submissionid/status/:statustype", - destination: "http://submissions:8082/v1/submissions/:submissionid/status/:statustype" + source: "/api/:path*", + destination: "http://localhost:8082/v1/:path*", + // source: "/v1/submissions/:submissionid/status/:statustype", + // destination: "http://submissions:8082/v1/submissions/:submissionid/status/:statustype" } ] - } + }, + images: { + remotePatterns: [ + { + protocol: 'https', + hostname: 'api.ic3.space', + pathname: '/strafe/map-images/**', + port: '', + search: '', + }, + ], + }, }; export default nextConfig; diff --git a/web/src/app/_components/header.tsx b/web/src/app/_components/header.tsx index 9996ffd..9115b35 100644 --- a/web/src/app/_components/header.tsx +++ b/web/src/app/_components/header.tsx @@ -18,10 +18,10 @@ export default function Header() { return (