mirror of
https://github.com/chaos-zhu/easynode.git
synced 2026-10-07 16:48:04 +08:00
- core/utils/validators.dart: normalizeServerAddress 与 isHttpAddress;
HTTP 风险检测仅用于登录页风险提示。
- core/utils/jwt_expiry.dart: 与 web 端兼容的 LoginExpiry 映射,输出
字符串与时间戳,匹配 server/app/controller/user.js 中
jwt.sign({ expiresIn }) 支持的形式。
- core/storage/device_id.dart: DeviceIdStore 抽象 + SecureDeviceIdStore,
loadOrCreateDeviceId 首次生成 UUID v4 并持久化到 secure storage。
- 配套单测全部通过 (flutter test test/core)。
25 lines
336 B
Plaintext
25 lines
336 B
Plaintext
node_modules
|
|
!.gitkeep
|
|
dist
|
|
easynode-server.zip
|
|
server/app/static/*
|
|
server/app/socket/sftp-cache/*
|
|
!server/app/socket/sftp-cache/.gitkeep
|
|
server/app/logs/*
|
|
server/app/db/*
|
|
!server/app/db/README.md
|
|
plan.md
|
|
.env
|
|
.env.local
|
|
.env-encrypt-key
|
|
*clear.js
|
|
local-script
|
|
版本发布.md
|
|
.vscode
|
|
plan
|
|
.claude
|
|
CLAUDE.md
|
|
.agents
|
|
skills-lock*
|
|
.codex
|