diff --git a/cmd/server/config.toml b/cmd/server/config.toml index c4f9199..ed136bb 100644 --- a/cmd/server/config.toml +++ b/cmd/server/config.toml @@ -16,7 +16,7 @@ precaching = true filettlenabled = true deduplicationenabled = true globalextensions = ["*"] -bind_ip = "0.0.0.0" +bind_ip = "0.0.0.0, ::1" [logging] level = "info" diff --git a/test/hmac_test.go b/test/hmac_test.go index 36fea2c..855a375 100644 --- a/test/hmac_test.go +++ b/test/hmac_test.go @@ -15,7 +15,7 @@ import ( ) const ( - serverURL = "http://127.0.0.1:8080" // Replace with your actual server URL + serverURL = "http://[::]:8080" // Replace with your actual server URL secret = "changeme" // Replace with your HMAC secret key uploadPath = "hmac_icon.png" // Test file to upload protocolType = "v2" // Use v2, v, or token as needed