mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-02 17:13:33 +01:00
Merge origin/main (#993) into feat/admin-errors-ux; rebuild bundles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
dff9f580ee
5 files changed
+134
-98
No files matched your search
+4
-1
@@ -270,7 +270,10 @@ export default async function start() {
|
||||
apiRouter.use("/pr", speedLimiter, router.pullRequestPrivate);
|
||||
apiRouter.use("/gist", speedLimiter, router.gistPublic);
|
||||
apiRouter.use("/gist", speedLimiter, router.gistPrivate);
|
||||
apiRouter.use("/anonymize-preview", speedLimiter, router.anonymizePreview);
|
||||
// The form previews on every edit, and slowing it down after 50 calls made
|
||||
// typing feel broken. It only runs the anonymizer on posted text, never
|
||||
// GitHub, so the shared API rate limit is enough.
|
||||
apiRouter.use("/anonymize-preview", router.anonymizePreview);
|
||||
|
||||
// Cache message.txt presence so /api/message doesn't hit the filesystem
|
||||
// synchronously on every request. Re-checked on a 60s interval — the file
|
||||
|
||||
Reference in new issue
Block a user