Bump version 0.1.0.
This commit is contained in:
parent
8f655a3d7d
commit
0a893b4bcf
@ -19,7 +19,7 @@ import (
|
|||||||
"github.com/yukimochi/httpsig"
|
"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 {
|
func appendSignature(r *http.Request, body *[]byte, KeyID string, pKey *rsa.PrivateKey) error {
|
||||||
hash := sha256.New()
|
hash := sha256.New()
|
||||||
|
@ -12,6 +12,7 @@ services:
|
|||||||
command: worker
|
command: worker
|
||||||
environment:
|
environment:
|
||||||
- "ACTOR_PEM=/actor.pem"
|
- "ACTOR_PEM=/actor.pem"
|
||||||
|
- "RELAY_SERVICENAME=YUKIMOCHI Toot Relay Service"
|
||||||
- "RELAY_DOMAIN=relay.toot.yukimochi.jp"
|
- "RELAY_DOMAIN=relay.toot.yukimochi.jp"
|
||||||
- "REDIS_URL=redis:6379"
|
- "REDIS_URL=redis:6379"
|
||||||
volumes:
|
volumes:
|
||||||
@ -25,6 +26,7 @@ services:
|
|||||||
command: server
|
command: server
|
||||||
environment:
|
environment:
|
||||||
- "ACTOR_PEM=/actor.pem"
|
- "ACTOR_PEM=/actor.pem"
|
||||||
|
- "RELAY_SERVICENAME=YUKIMOCHI Toot Relay Service"
|
||||||
- "RELAY_DOMAIN=relay.toot.yukimochi.jp"
|
- "RELAY_DOMAIN=relay.toot.yukimochi.jp"
|
||||||
- "RELAY_BIND=0.0.0.0:8080"
|
- "RELAY_BIND=0.0.0.0:8080"
|
||||||
- "REDIS_URL=redis:6379"
|
- "REDIS_URL=redis:6379"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user