diff --git a/app/package.json b/app/package.json index 63b7219..6d420f4 100644 --- a/app/package.json +++ b/app/package.json @@ -15,6 +15,7 @@ "url": "https://github.com/alangrainger/immich-public-proxy.git" }, "main": "dist/index.js", + "bin": "dist/index.js", "dependencies": { "archiver": "^7.0.1", "dayjs": "^1.11.13", diff --git a/app/src/index.ts b/app/src/index.ts index 5f59579..5e0d2f0 100644 --- a/app/src/index.ts +++ b/app/src/index.ts @@ -1,3 +1,5 @@ +#!/usr/bin/env node + import express from 'express' import immich from './immich' import render from './render'