aboutsummaryrefslogtreecommitdiff
path: root/server_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-02-05 00:00:23 +0700
committerShulhan <ms@kilabit.info>2026-02-05 03:40:34 +0700
commitaba22ce712d13b0b99b56a860f57c9142d9440e3 (patch)
tree33a9bcddd4b8fafa4cbb1b31696de13ccbdd1b63 /server_test.go
parentb447e8991270ddf634761c7a6b7daf411211f2a5 (diff)
downloadciigo-aba22ce712d13b0b99b56a860f57c9142d9440e3.tar.xz
all: redirect request for .adoc or .md to the HTML file
During serve, onGet method, if the node does not exist and the request path end with .adoc or .md, redirect the client to the .html location with status 303 (StatusSeeOther).
Diffstat (limited to 'server_test.go')
0 files changed, 0 insertions, 0 deletions