diff --git a/CHANGELOG.md b/CHANGELOG.md index d247b16..769e0cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm --- +## [1.7.4] - 2026-05-23 + +### Fixed + +- **Ombi webhook registration in production** — Fixed a bug where `/api/ombi/webhook/enable` and other `/api/ombi/*` endpoints returned `404 (Not Found)` in production. The core Express app factory (`server/app.js`) registered the router, but the production server entry point (`server/index.js`) duplicated Express setup instead of utilizing the factory, omitting the `ombiRoutes` registration entirely. Re-registered the router in `server/index.js`, resolves Gitea Issue [#40](https://git.i3omb.com/Gandalf/sofarr/issues/40). + +--- + ## [1.7.3] - 2026-05-23 ### Fixed diff --git a/package-lock.json b/package-lock.json index e83a923..44a3927 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sofarr", - "version": "1.7.3", + "version": "1.7.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sofarr", - "version": "1.7.3", + "version": "1.7.4", "license": "MIT", "dependencies": { "axios": "^1.6.0", diff --git a/package.json b/package.json index 004ddbd..390bdcb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sofarr", - "version": "1.7.3", + "version": "1.7.4", "description": "A personal media download dashboard that shows your downloads 'so far' while you relax on the sofa waiting for your *arr services to finish", "main": "server/index.js", "scripts": { diff --git a/server/index.js b/server/index.js index 2096a33..0080e02 100644 --- a/server/index.js +++ b/server/index.js @@ -89,6 +89,7 @@ const statusRoutes = require('./routes/status'); const historyRoutes = require('./routes/history'); const authRoutes = require('./routes/auth'); const webhookRoutes = require('./routes/webhook'); +const ombiRoutes = require('./routes/ombi'); const verifyCsrf = require('./middleware/verifyCsrf'); const { startPoller, POLL_INTERVAL, POLLING_ENABLED } = require('./utils/poller'); const { validateInstanceUrl } = require('./utils/config'); @@ -372,6 +373,7 @@ app.use('/api/sabnzbd', sabnzbdRoutes); app.use('/api/sonarr', sonarrRoutes); app.use('/api/radarr', radarrRoutes); app.use('/api/emby', embyRoutes); +app.use('/api/ombi', ombiRoutes); app.use('/api/dashboard', dashboardRoutes); app.use('/api/status', statusRoutes); app.use('/api/history', historyRoutes);