Skip to content

Commit 09b0216

Browse files
zhuozhiyongdeInnei
authored andcommitted
fix(Activity): correct Chinese app name of safari, add pm2 config (#75)
* fix(Activity.tsx): Chinese translation and new app * fix(Activity):typo & feat:pm2 config
1 parent 9f0877b commit 09b0216

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

ecosystem.config.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
apps: [
3+
{
4+
name: 'Shiro',
5+
script: 'npx next start -p 2323',
6+
instances: 1,
7+
autorestart: true,
8+
watch: false,
9+
max_memory_restart: '180M',
10+
env: {
11+
NODE_ENV: 'production',
12+
},
13+
},
14+
],
15+
}

src/components/layout/header/internal/Activity.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const appLabels: { [app: string]: string } = {
6868
音乐: 'music',
6969
网易云音乐: 'netease',
7070
备忘录: 'notes',
71-
'Safari 浏览器': 'safari',
71+
Safari浏览器: 'safari',
7272
微信: 'wechat',
7373
腾讯会议: 'tencent_meeting',
7474
Alacritty: 'alacritty',

0 commit comments

Comments
 (0)