一元网络论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 56|回复: 0

New Telegraph CDN supports guest verification.

[复制链接]

2万

主题

2万

帖子

6万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
62478
发表于 2024-9-1 11:19:53 | 显示全部楼层 |阅读模式
When `enableAuth` is set to true, accessing the root path `/` requires authentication, while accessing `/admin` does not require authentication. Generally, only update the code in function.js file can be done! The source code is located at . The following functions have been implemented:
- Support visitor authentication.
- Support image review.
- Support paste upload.
- Support multi-file upload.
- Support backend file management.
- Support uploading images larger than 5MB.
- Support automatically uploading images after selecting them.
- Support compression functionality, defaulting to compressing images after selection.
- Support displaying the upload time of uploaded pictures and sorting them by upload time in the management interface.
- Support modifying the backend path to `/admin`, which can be adjusted in line two of the code when needed.
- Support JPEG, JPG, PNG, GIF, and MP4 formats, with Gif and MP4 sizes needing to be <= 5MB.
- Default to proxying database images, returning 404 for links from other TG picture beds that use the database link.
- Support URL, BBCode, and Markdown formatting, allowing automatic copying of corresponding format links upon clicking on buttons.
- For users who want to customize their user interfaces, please modify the code yourself. When making changes, please retain the project's open-source address.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|一元网络论坛

GMT+8, 2024-10-2 01:42 , Processed in 0.060822 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表