[PR #4400] [MERGED] 🐛 Fix new proxy middleware dependency missing on prod build #5361

Closed
opened 2026-02-28 21:11:12 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4400
Author: @MikesGlitch
Created: 2/18/2025
Status: Merged
Merged: 2/18/2025
Merged by: @MikesGlitch

Base: masterHead: fix/production-deps-edge-docker-build


📝 Commits (2)

  • ad67f82 fix new proxy middleware not installed on prod build
  • 1e987a3 release notes

📊 Changes

2 files changed (+10 additions, -2 deletions)

View changed files

📝 packages/sync-server/src/app.js (+4 -2)
upcoming-release-notes/4400.md (+6 -0)

📄 Description

The new proxy middleware was added as a dev dependency but imported in production as well.

The fix is to only import the dev dependency when in dev mode.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/4400 **Author:** [@MikesGlitch](https://github.com/MikesGlitch) **Created:** 2/18/2025 **Status:** ✅ Merged **Merged:** 2/18/2025 **Merged by:** [@MikesGlitch](https://github.com/MikesGlitch) **Base:** `master` ← **Head:** `fix/production-deps-edge-docker-build` --- ### 📝 Commits (2) - [`ad67f82`](https://github.com/actualbudget/actual/commit/ad67f828243072e3946195568553e580c357fca7) fix new proxy middleware not installed on prod build - [`1e987a3`](https://github.com/actualbudget/actual/commit/1e987a34d98123bd09564d47a5df87b6f4b33a63) release notes ### 📊 Changes **2 files changed** (+10 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/sync-server/src/app.js` (+4 -2) ➕ `upcoming-release-notes/4400.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes --> The new proxy middleware was added as a dev dependency but imported in production as well. The fix is to only import the dev dependency when in dev mode. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:11:12 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5361