Skip to content

Commit ba91a1a

Browse files
committed
feat: enhance version fetching and validation logic
- refactor version fetching to use a dedicated API endpoint - add validation functions for ObjectId and custom IDs - improve URL sanitization to prevent path traversal - implement AbortController in data fetching hooks to prevent memory leaks - update component structure for better readability and maintainability
1 parent b897bde commit ba91a1a

75 files changed

Lines changed: 3651 additions & 664 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.local.example

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ NEXTAUTH_URL=
1010
NEXTAUTH_SECRET=
1111

1212
# GitHub token that have read access to MingdaoSIG-Frontend repo
13-
NEXT_PUBLIC_GITHUB_TOKEN=
13+
GITHUB_TOKEN=
1414

1515
# Discord webhook URL for displaying login log
1616
NEXT_PUBLIC_WEBHOOK_LOGIN=
1717

1818
# Local Only
1919
# NODE_ENV=development,no-strict
2020

21-
# Production Only
2221
# FORCE_CONTAINERIZED=1
2322
# NODE_OPTIONS=--max-old-space-size=512

0 commit comments

Comments
 (0)