diff --git a/webui/Dockerfile b/webui/Dockerfile index 4ade92d3f..bbc429014 100644 --- a/webui/Dockerfile +++ b/webui/Dockerfile @@ -26,7 +26,8 @@ COPY --chown=node:node --from=builder /home/node/builder/lib/default/server.js / WORKDIR /home/node/webui # Install Express server -RUN yarn add express@4.17.1 +RUN yarn add express@4.18.2 +RUN yarn add express-rate-limit@7.2.0 EXPOSE 3000 ENTRYPOINT ["node", "lib/default/server"] diff --git a/webui/package.json b/webui/package.json index 75ff04ea5..8fcedd258 100644 --- a/webui/package.json +++ b/webui/package.json @@ -44,7 +44,6 @@ "clipboard-copy": "^4.0.1", "clsx": "^1.2.1", "dompurify": "^3.0.4", - "express-rate-limit": "^7.2.0", "fetch-retry": "^5.0.6", "lodash": "^4.17.21", "markdown-it": "^13.0.1", @@ -92,6 +91,7 @@ "eslint": "^8.44.0", "eslint-plugin-react": "^7.32.2", "express": "^4.18.2", + "express-rate-limit": "^7.2.0", "mocha": "^10.2.0", "rimraf": "^5.0.5", "source-map-loader": "^4.0.1",