mirror of
https://github.com/ZSCGR/CloudFlare-ImgBed.git
synced 2026-08-22 16:43:41 +08:00
- Add 'internal' token type to API Token system, hidden from the security settings token list - When WebDAV is enabled, auto-create an internal API Token with list/upload/delete permissions, stored in WebDAV config - When WebDAV is disabled, auto-delete the internal token - WebDAV handler reads the internal token from config and sends it as Bearer auth; if missing, creates one on-the-fly as fallback - Works across both Docker and Cloudflare deployments since the token is persisted in KV/D1, not in process memory