diff --git a/app/package-lock.json b/app/package-lock.json index 714bc6d..8b96edf 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,12 +1,12 @@ { "name": "immich-public-proxy", - "version": "1.5.3", + "version": "1.5.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "immich-public-proxy", - "version": "1.5.3", + "version": "1.5.4", "license": "AGPL-3.0", "dependencies": { "archiver": "^7.0.1", @@ -17,6 +17,9 @@ "tslib": "^2.8.1", "typescript": "^5.6.2" }, + "bin": { + "immich-public-proxy": "dist/index.js" + }, "devDependencies": { "@types/archiver": "^6.0.3", "@types/express": "^4.17.21", @@ -2184,9 +2187,9 @@ } }, "node_modules/express": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", - "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", + "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", "license": "MIT", "dependencies": { "accepts": "~1.3.8", @@ -2208,7 +2211,7 @@ "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.10", + "path-to-regexp": "0.1.12", "proxy-addr": "~2.0.7", "qs": "6.13.0", "range-parser": "~1.2.1", @@ -2223,6 +2226,10 @@ }, "engines": { "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/express/node_modules/debug": { @@ -3992,9 +3999,9 @@ } }, "node_modules/path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", + "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", "license": "MIT" }, "node_modules/path-type": { diff --git a/app/package.json b/app/package.json index 6d420f4..6ad2947 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "immich-public-proxy", - "version": "1.5.3", + "version": "1.5.4", "scripts": { "dev": "ts-node src/index.ts", "build": "npx tsc", diff --git a/app/src/index.ts b/app/src/index.ts index 1d6cfb6..d8d581a 100644 --- a/app/src/index.ts +++ b/app/src/index.ts @@ -148,7 +148,7 @@ app.get('*', (req, res) => { }) // Start the ExpressJS server -const port = process.env.IPP_PORT || 3000; +const port = process.env.IPP_PORT || 3000 app.listen(port, () => { console.log(dayjs().format() + ' Server started on port ' + port) })