-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Feature(custom): optimize the processing of upload path and custom url
- Loading branch information
1 parent
762913c
commit ae40a16
Showing
4 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
✨ Features | ||
|
||
- 现在浏览器访问36677端口会显示API文档(支持`/`和`/upload`路径) | ||
- 现在`heartbeat`接口支持`GET`请求 | ||
- 图床功能优化 | ||
- 优化了github等图床路径设置为`/`时的处理 | ||
- 现在会自动对上传路径开始和结尾的`/`进行处理,大部分图床不再强制要求路径以`/`结尾 | ||
- 优化了对自定义网站的处理,现在会自动去除最后多余的`/` | ||
- 上传服务器 | ||
- 现在来自本机的上传请求不再进行鉴权 | ||
- 现在浏览器访问36677端口会显示API文档(支持`/`和`/upload`路径) | ||
- 现在`heartbeat`接口支持`GET`请求 | ||
- 新增内置web服务支持,默认在37777端口开启一个简易web服务器,类似`EasyWebSvr` | ||
- 现在不再对`svg`图片进行水印处理 | ||
- 现在内置高级重命名中`{md5}`使用文件内容而非文件名字符串计算 | ||
- 现在相册URL修改功能的正则匹配增加了`u`修饰符 | ||
- 现在设置界面的弹出窗口支持拖拽调整位置 | ||
- 现在图片处理过程会记录错误日志 | ||
|
||
🐛 Bug Fixes | ||
|
||
- 修复了设置了服务器鉴权密钥后,Typora上传失败的问题 | ||
- 修复了未设置水印文字时,图片水印功能无法生效的bug | ||
- 修复了server端口被占用时,端口探测功能没有正常发挥作用的问题 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
✨ Features | ||
|
||
- Now the browser will display the API document when accessing port 36677 (support `/` and `/upload` paths) | ||
- Now the `heartbeat` interface supports `GET` requests | ||
- Picture bed function optimization | ||
- Optimized the processing of the path set to `/` for github and other picture beds | ||
- Now it will automatically process the `/` at the beginning and end of the upload path, and most picture beds no longer require the path to end with `/` | ||
- Optimized the processing of custom websites, now it will automatically remove the extra `/` at the end | ||
- Upload server | ||
- Now the upload requests from the local machine no longer require authentication | ||
- Now browsing port 36677 will display the API document (support `/` and `/upload` paths) | ||
- Now the `heartbeat` interface supports `GET` requests | ||
- Added built-in web service support, a simple web server is opened by default on port 37777, similar to `EasyWebSvr` | ||
- Now no longer watermark `svg` images | ||
- Now in the advanced renaming, `{md5}` uses the file content instead of the file name string calculation | ||
- Now the pop-up window of the setting interface supports dragging to adjust the position | ||
- Now the `{md5}` in the advanced rename uses the file content instead of the file name string for calculation | ||
- The regular expression matching of the album URL modification function now adds the `u` modifier | ||
- Now the pop-up window in the settings interface supports dragging to adjust the position | ||
- Now the image processing process will record error logs | ||
|
||
🐛 Bug Fixes | ||
|
||
- Fixed the bug that the image watermark function cannot take effect when the watermark text is not set | ||
- Fixed the problem that the port detection function did not work properly when the server port was occupied | ||
- Fix the problem of Typora upload failure after setting the server authentication key | ||
- Fixed the bug that the image watermark function does not take effect when the watermark text is not set | ||
- Fixed the problem that the port detection function does not work properly when the server port is occupied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters