Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
fix(backend): update router options access to use `options.routerOptions` instead of deprecated `constraints` property (Fastify v6 compatibility)
johaven2d74512a800b
diff --git a/backend/src/app.bootstrap.ts b/backend/src/app.bootstrap.tsindex f530a449..da5b35f6 100644--- a/backend/src/app.bootstrap.ts+++ b/backend/src/app.bootstrap.ts@@ -25,8 +25,10 @@ export async function appBootstrap(): Promise<NestFastifyApplication> {const fastifyAdapter = new FastifyAdapter({logger: false,trustProxy: configuration.server.trustProxy,- ignoreTrailingSlash: true,- maxParamLength: 256,+ routerOptions: {+ ignoreTrailingSlash: true,+ maxParamLength: 256+ },bodyLimit: 26214400 /* 25 MB */})const app: NestFastifyApplication = await NestFactory.create<NestFastifyApplication>(AppModule, fastifyAdapter, {diff --git a/package-lock.json b/package-lock.jsonindex 00d258e0..d677b514 100644--- a/package-lock.json+++ b/package-lock.json@@ -412,18 +412,16 @@}},"node_modules/@ali-hm/angular-tree-component": {- "version": "20.3.3",- "resolved": "https://registry.npmjs.org/@ali-hm/angular-tree-component/-/angular-tree-component-20.3.3.tgz",- "integrity": "sha512-I7jIPnkE4iUkJET0VwO4l/Mluodpl5cjQSDxN1rtgkBE6cNWrbDAaZ1xFVCvuzHjOw5ylIrEKlJXIPt/AsSF9A==",+ "version": "20.3.4",+ "resolved": "https://registry.npmjs.org/@ali-hm/angular-tree-component/-/angular-tree-component-20.3.4.tgz",+ "integrity": "sha512-tPhz+l3sg2an6gm9VbC9CjFex6yTu/m+dst879UaF2TaGE0II/pGAAmTz/zYS9EOk+xWjkwaiJU3EhqN9GAk7Q==","license": "MIT","dependencies": {- "mobx": "~4.14.1","tslib": "^2.5.0"},"peerDependencies": {"@angular/common": ">=20.0",- "@angular/core": ">=20.0",- "mobx": "~4.14.1"+ "@angular/core": ">=20.0"}},"node_modules/@ampproject/remapping": {@@ -5358,9 +5356,9 @@}},"node_modules/@fastify/multipart": {- "version": "9.2.1",- "resolved": "https://registry.npmjs.org/@fastify/multipart/-/multipart-9.2.1.tgz",- "integrity": "sha512-U4221XDMfzCUtfzsyV1/PkR4MNgKI0158vUUyn/oF2Tl6RxMc+N7XYLr5fZXQiEC+Fmw5zFaTjxsTGTgtDtK+g==",+ "version": "9.3.0",+ "resolved": "https://registry.npmjs.org/@fastify/multipart/-/multipart-9.3.0.tgz",+ "integrity": "sha512-NpeKipTOjjL1dA7SSlRMrOWWtrE8/0yKOmeudkdQoEaz4sVDJw5MVdZIahsWhvpc3YTN7f04f9ep/Y65RKoOWA==","funding": [{"type": "github",@@ -8585,9 +8583,9 @@}},"node_modules/@nestjs/common": {- "version": "11.1.7",- "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.7.tgz",- "integrity": "sha512-lwlObwGgIlpXSXYOTpfzdCepUyWomz6bv9qzGzzvpgspUxkj0Uz0fUJcvD44V8Ps7QhKW3lZBoYbXrH25UZrbA==",+ "version": "11.1.8",+ "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.8.tgz",+ "integrity": "sha512-bbsOqwld/GdBfiRNc4nnjyWWENDEicq4SH+R5AuYatvf++vf1x5JIsHB1i1KtfZMD3eRte0D4K9WXuAYil6XAg==","license": "MIT","dependencies": {"file-type": "21.0.0",@@ -8631,9 +8629,9 @@}},"node_modules/@nestjs/core": {- "version": "11.1.7",- "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.7.tgz",- "integrity": "sha512-TyXFOwjhHv/goSgJ8i20K78jwTM0iSpk9GBcC2h3mf4MxNy+znI8m7nWjfoACjTkb89cTwDQetfTHtSfGLLaiA==",+ "version": "11.1.8",+ "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.8.tgz",+ "integrity": "sha512-7riWfmTmMhCJHZ5ZiaG+crj4t85IPCq/wLRuOUSigBYyFT2JZj0lVHtAdf4Davp9ouNI8GINBDt9h9b5Gz9nTw==","hasInstallScript": true,"license": "MIT","dependencies": {@@ -8695,9 +8693,9 @@}},"node_modules/@nestjs/platform-fastify": {- "version": "11.1.7",- "resolved": "https://registry.npmjs.org/@nestjs/platform-fastify/-/platform-fastify-11.1.7.tgz",- "integrity": "sha512-JXWPWf3sStV/N/AXkUg3+SKOEbcwPCm7S9aPbVkc3oOnXUeMvSowmIzFJ6+TZeuoGMc+4X42ZzpR74P5vPzDKQ==",+ "version": "11.1.8",+ "resolved": "https://registry.npmjs.org/@nestjs/platform-fastify/-/platform-fastify-11.1.8.tgz",+ "integrity": "sha512-4XiiTiTkF9UbVDAuHDyVIzgr43L2sI3vLs9A52ov2lrOJcqyKwTYL/NiCQd4dtUQm1L6M0jOrJhzpYXobX5uMw==","license": "MIT","dependencies": {"@fastify/cors": "11.1.0",@@ -8729,9 +8727,9 @@}},"node_modules/@nestjs/platform-socket.io": {- "version": "11.1.7",- "resolved": "https://registry.npmjs.org/@nestjs/platform-socket.io/-/platform-socket.io-11.1.7.tgz",- "integrity": "sha512-suAyy5JWWvqU0fXbRp79Ihy7a1HSfB5rKgecVRmuQQyTi28W/0lsRsJN41plsxOEiXtaZq7sqiQp5Dg4XeUc9g==",+ "version": "11.1.8",+ "resolved": "https://registry.npmjs.org/@nestjs/platform-socket.io/-/platform-socket.io-11.1.8.tgz",+ "integrity": "sha512-nMUvwcdztso8BjN9czRl4sm0Ewc5xrCcgLvy+QPt6VAnTdu06KcZqtA6Cl3MKxViSQsQ8NBN5foKvZehNt/tug==","license": "MIT","dependencies": {"socket.io": "4.8.1",@@ -8845,9 +8843,9 @@}},"node_modules/@nestjs/testing": {- "version": "11.1.7",- "resolved": "https://registry.npmjs.org/@nestjs/testing/-/testing-11.1.7.tgz",- "integrity": "sha512-QbtrgSlc3QVo6RHNxTTlyhaiobLLy8kvhOlgWHsoXRknybuRs7vZg4k5mo3ye6pITGeT3CrWIRpZjUsh5Wps5Q==",+ "version": "11.1.8",+ "resolved": "https://registry.npmjs.org/@nestjs/testing/-/testing-11.1.8.tgz",+ "integrity": "sha512-E6K+0UTKztcPxJzLnQa7S34lFjZbrj3Z1r7c5y5WDrL1m5HD1H4AeyBhicHgdaFmxjLAva2bq0sYKy/S7cdeYA==","dev": true,"license": "MIT","dependencies": {@@ -8873,9 +8871,9 @@}},"node_modules/@nestjs/websockets": {- "version": "11.1.7",- "resolved": "https://registry.npmjs.org/@nestjs/websockets/-/websockets-11.1.7.tgz",- "integrity": "sha512-FWPgZPN7yQWIeonQ7JL64Rbsbw/IQovft0cVC5UX1Jbsovq+rUaTuk3rilimGrawN9VOGcoiQLGNiIbmjjiCew==",+ "version": "11.1.8",+ "resolved": "https://registry.npmjs.org/@nestjs/websockets/-/websockets-11.1.8.tgz",+ "integrity": "sha512-RXo2336p/vyAwJ0qPInglzNSQ//qz+JTLr2LE1vlbmN5WcyB7zV6+gY06YgNdsr3oy/cXRh7fnC3Ph/VAu1EVg==","license": "MIT","dependencies": {"iterare": "1.2.1",@@ -24082,12 +24080,6 @@"node": ">=10"}},- "node_modules/mobx": {- "version": "4.14.1",- "resolved": "https://registry.npmjs.org/mobx/-/mobx-4.14.1.tgz",- "integrity": "sha512-Oyg7Sr7r78b+QPYLufJyUmxTWcqeQ96S1nmtyur3QL8SeI6e0TqcKKcxbG+sVJLWANhHQkBW/mDmgG5DDC4fdw==",- "license": "MIT"- },"node_modules/modify-values": {"version": "1.0.1","resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz",