Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复了一个之前没注意的中文名问题,增加了pm2的启动配置文件以便使用 #75

Merged
merged 3 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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