Skip to content

Commit

Permalink
fix(Activity): correct Chinese app name of safari, add pm2 config (#75
Browse files Browse the repository at this point in the history
)

* fix(Activity.tsx): Chinese translation and new app

* fix(Activity):typo & feat:pm2 config
  • Loading branch information
zhuozhiyongde authored and Innei committed Sep 6, 2023
1 parent 9f0877b commit 09b0216
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
apps: [
{
name: 'Shiro',
script: 'npx next start -p 2323',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '180M',
env: {
NODE_ENV: 'production',
},
},
],
}
2 changes: 1 addition & 1 deletion src/components/layout/header/internal/Activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const appLabels: { [app: string]: string } = {
音乐: 'music',
网易云音乐: 'netease',
备忘录: 'notes',
'Safari 浏览器': 'safari',
Safari浏览器: 'safari',
微信: 'wechat',
腾讯会议: 'tencent_meeting',
Alacritty: 'alacritty',
Expand Down

0 comments on commit 09b0216

Please sign in to comment.