Updated nextjs. Changed middleware to proxy.

This commit is contained in:
Mike Cao
2026-04-15 18:25:14 -07:00
parent 137fd6fd5c
commit 7b8403c0cc
6 changed files with 372 additions and 2070 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ FROM node:${NODE_IMAGE_VERSION} AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
COPY docker/middleware.ts ./src
COPY docker/proxy.ts ./src
ARG BASE_PATH
+3 -3
View File
@@ -89,7 +89,7 @@
"kafkajs": "^2.1.0",
"lucide-react": "^1.7.0",
"maxmind": "^5.0.5",
"next": "16.2.1",
"next": "16.2.4",
"next-intl": "4.8.3",
"node-fetch": "^3.2.8",
"npm-run-all": "^4.1.5",
@@ -97,8 +97,8 @@
"pg": "^8.20.0",
"prisma": "^7.6.0",
"pure-rand": "^7.0.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-error-boundary": "^4.0.4",
"react-resizable-panels": "^4.8.0",
"react-simple-maps": "^2.3.0",
+367 -2060
View File
File diff suppressed because it is too large Load Diff
+1 -5
View File
@@ -25,11 +25,7 @@ export function LinksTable({ showActions, ...props }: LinksTableProps) {
<DataColumn id="slug" label={t(labels.link)}>
{({ slug }: any) => {
const url = getSlugUrl(slug);
return (
<ExternalLink href={url} prefetch={false}>
{url}
</ExternalLink>
);
return <ExternalLink href={url}>{url}</ExternalLink>;
}}
</DataColumn>
<DataColumn id="url" label={t(labels.destinationUrl)}>
-1
View File
@@ -20,7 +20,6 @@
"noEmit": true,
"jsx": "react-jsx",
"incremental": false,
"baseUrl": ".",
"outDir": "./build",
"paths": {
"@/*": ["./src/*"]