Skip to content

Releases: mjpclab/go-http-file-server

Version 1.9.1

03 Nov 16:18
Compare
Choose a tag to compare

fix(serverHandler/header): allow output same header name multi times

Version 1.9.0

16 Oct 17:55
Compare
Choose a tag to compare

Main changes

Added new options.

--hsts

Enable HSTS(HTTP Strict Transport Security).
Only available if current virtual host listens both plain HTTP and TLS on standard ports.

--to-https [<target-port>]

Redirect plain HTTP request to HTTPS TLS port.
Target port must be exists in --listen-tls of current virtual host.
If target port is omitted, the first item from --listen-tls will be used.

--header <name>:<value> ...

Set custom HTTP response header.


主要变更

添加了新的选项。

--hsts

启用HSTS(HTTP Strict Transport Security)。
仅当当前虚拟主机的纯HTTP和TLS模式都监听在标准端口上时才有效。

--to-https [<目标端口>]

将纯HTTP请求重定向到HTTPS端口。
目标端口必须存在于当前虚拟主机--listen-tls中。
如果省略目标端口,则使用--listen-tls中的第一项。

--header <名称>:<值> ...

设置自定义HTTP响应头。

Version 1.8.6

18 Sep 03:13
Compare
Choose a tag to compare

Main changes

  • fix: ensure to close file if upload failed
  • can use left/right arrow keys to move focus between path items
  • can use up/down arrow keys to move focus between file items
  • api: add ?download action

主要变更

  • 修复:确保上传失败是总是关闭文件
  • 可以使用左、右方向键使焦点在路径项上移动
  • 可以使用上、下方向键使焦点在文件项上移动
  • api: 添加 ?download 行为

Version 1.8.5

26 Jul 12:37
Compare
Choose a tag to compare

Bug fix and improvements.

Version 1.8.4

06 Jun 16:27
Compare
Choose a tag to compare

Bug fix

  • fix(sort): make filenames start with digits prior than letters
  • fix(param/util): use filepath to normalize file system path
  • fix(serverHandler/mutate): use raw RequestURI to assemble redirect URL

Version 1.8.3

02 Jun 16:11
Compare
Choose a tag to compare

Main changes

  • Can sort files by type
  • Hide interactive page elements when printing

主要变更

  • 可按文件类型排序
  • 打印页面时隐藏交互性元素

Version 1.8.2

17 May 14:48
Compare
Choose a tag to compare

Main changes

  • fix(tpl): make delete button vertical aligned
  • feat: --hostname option support prefix hostname match

主要变更

  • fix(tpl): “删除”按钮未垂直居中
  • feat: --hostname选项支持匹配主机名前缀

Version 1.8.1

12 May 05:35
Compare
Choose a tag to compare

Main changes

  • Add file filter for client side

主要变更

  • 添加客户端文件名筛选

Version 1.8.0

04 May 11:52
Compare
Choose a tag to compare

Main changes

  • Add sorting support(sort and render on server side)

主要变更

  • 添加排序支持(在服务器端排序和渲染)

Version 1.7.2

02 May 04:01
Compare
Choose a tag to compare

bug fix

fix(cli): accept "-" as log file


bug修复

fix(cli): 接受 "-" 作为日志文件