-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add frontend #16
Add frontend #16
Conversation
抱歉最近比较忙没有review,我今天看一下 |
f0d8049
to
5c39aa3
Compare
本地玩了一下新版 感觉挺好的。看到一些小问题:
|
699d128
to
deaedbe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
其他地方LGTM
我们先把hover动画删了吧~ |
是否可以考虑 U+1F5E8 或者 U+1F4AC? |
那这个得考虑到不同设备(字体)的展示效果问题了,个人不建议 |
14k变4k了,挺好的 👍 |
import { GetCommentBody, GetCommentRespBody, PostCommentBody, PutCommitHashBody, ResponseBody } from './types'; | ||
import { getComment, postComment } from './db'; | ||
import { validateSecret, setCommitHash, compareCommitHash } from './administration'; | ||
import { matchCommentCache, purgeAllCommentCache, purgeCommentCache, putCommentCache } from './cache'; | ||
|
||
const router = AutoRouter(); | ||
const { preflight, corsify } = cors({ | ||
origin: 'https://oi-wiki.org', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
突然想到一个问题,我们还有一堆镜像站.. https://oi.wiki/intro/mirrors/ 要不把这个list里面的都加上
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
omg,那感觉应该是要加的吧
Add frontend project, use
yarn dev
for test (Vite will proxy local cloudflare-worker server to/api
path).Usage:
Import
review.js
as ES Module, then callsetupReview
with options.Other changes: