Skip to content

Commit

Permalink
chore(server): process title (immich-app#3519)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 authored Aug 2, 2023
1 parent fb65916 commit 5e4403b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ if (process.argv[2] === immichApp) {
function bootstrap() {
switch (immichApp) {
case 'immich':
process.title = 'immich_server';
return immich();
case 'microservices':
process.title = 'immich_microservices';
return microservices();
case 'admin-cli':
process.title = 'immich_admin_cli';
return adminCli();
default:
console.log(`Invalid app name: ${immichApp}. Expected one of immich|microservices|cli`);
Expand Down

0 comments on commit 5e4403b

Please sign in to comment.