Bump version 0.1.0.

This commit is contained in:
Naoki Kosaka
2018-11-15 22:15:12 +09:00
parent 8f655a3d7d
commit 0a893b4bcf
2 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,7 @@ import (
"github.com/yukimochi/httpsig"
)
var UA_STRING = "YUKIMOCHI Toot Relay Service (golang net/http; Activity-Relay v0.0.2; " + os.Getenv("RELAY_DOMAIN") + ")"
var UA_STRING = os.Getenv("RELAY_SERVICENAME") + " (golang net/http; Activity-Relay v0.1.0; " + os.Getenv("RELAY_DOMAIN") + ")"
func appendSignature(r *http.Request, body *[]byte, KeyID string, pKey *rsa.PrivateKey) error {
hash := sha256.New()