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

refactor: make frontend code looks better #112

Merged
merged 4 commits into from
Sep 28, 2024
Merged

Conversation

Enter-tainer
Copy link
Member

主要做了三个事情:

  1. 把一些很长的 promise chain 改成了 await
  2. 把 main.ts 拆分成了一系列文件
  3. 把函数名字里面的 prefix 下划线去掉了

cloudflare-workers/src/index.ts Outdated Show resolved Hide resolved
cloudflare-workers/src/utils.ts Outdated Show resolved Hide resolved
Copy link
Member

@shaokeyibb shaokeyibb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Enter-tainer Enter-tainer merged commit ff6f655 into master Sep 28, 2024
5 checks passed
@Enter-tainer Enter-tainer deleted the mgt/refactor branch September 28, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants