|
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. |
|