refactor: improve if-else code in server.ts
#1290
lint-pr-title.yml
on: pull_request_target
Lint PR title
3s
server.ts
#1290