Update Actor name.

This commit is contained in:
Naoki Kosaka
2019-04-07 23:42:37 +09:00
parent bf1f91c24e
commit 9ddeb2353e
8 changed files with 87 additions and 7 deletions

View File

@ -72,7 +72,7 @@ func initConfig() {
newNullLogger := NewNullLogger()
log.DEBUG = newNullLogger
uaString = viper.GetString("relay_servicename") + " (golang net/http; Activity-Relay v0.2.2; " + hostURL.Host + ")"
Actor.GenerateSelfKey(hostURL, &hostPrivatekey.PublicKey)
Actor.GenerateSelfKey(hostURL, viper.GetString("relay_servicename"), &hostPrivatekey.PublicKey)
fmt.Println("Welcome to YUKIMOCHI Activity-Relay [Worker]\n - Configrations")
fmt.Println("RELAY DOMAIN : ", hostURL.Host)