diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-13 03:03:12 -0400 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-13 03:03:12 -0400 |
commit | 195769230c0809cc186637951855319d1bd13f8e (patch) | |
tree | cd7110939df7e800029daa7328360d4953d3185b /pkg/api/api0/api.go | |
parent | 6f72a024fa0cb49022bd91c0a6a08d7b9f78767d (diff) | |
download | Atlas-195769230c0809cc186637951855319d1bd13f8e.tar.gz Atlas-195769230c0809cc186637951855319d1bd13f8e.zip |
pkg/api/api0, web: Implement static site handler, move redirects
Diffstat (limited to 'pkg/api/api0/api.go')
-rw-r--r-- | pkg/api/api0/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/api0/api.go b/pkg/api/api0/api.go index fe869af..e6c6550 100644 --- a/pkg/api/api0/api.go +++ b/pkg/api/api0/api.go @@ -7,6 +7,7 @@ // - Error messages have been improved. Enum values remain the same for compatibility. // - Some rate limits (no longer necessary due to increased performance and better caching) have been removed. // - More HTTP methods and features are supported (e.g., HEAD, OPTIONS, Content-Encoding). +// - Website split into a separate handler (set Handler.NotFound to http.HandlerFunc(web.ServeHTTP) for identical behaviour). package api0 import ( |