mirror of
https://github.com/PretendoNetwork/splatoon.git
synced 2026-04-24 06:47:57 -05:00
fix: small things
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
This commit is contained in:
parent
32b4e6ae58
commit
6309f67d34
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -35,3 +35,4 @@ log
|
|||
# misc
|
||||
.DS_Store
|
||||
splatoon
|
||||
settings.json
|
||||
|
|
|
|||
7
init.go
7
init.go
|
|
@ -5,12 +5,13 @@ import (
|
|||
"database/sql"
|
||||
"encoding/hex"
|
||||
"fmt"
|
||||
pbaccount "github.com/PretendoNetwork/grpc/go/account"
|
||||
pbfriends "github.com/PretendoNetwork/grpc/go/friends"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
pbaccount "github.com/PretendoNetwork/grpc/go/account"
|
||||
pbfriends "github.com/PretendoNetwork/grpc/go/friends"
|
||||
|
||||
"github.com/PretendoNetwork/plogger-go"
|
||||
"github.com/PretendoNetwork/splatoon/globals"
|
||||
"github.com/joho/godotenv"
|
||||
|
|
@ -38,7 +39,7 @@ func init() {
|
|||
friendsGRPCHost := os.Getenv("PN_SPLATOON_FRIENDS_GRPC_HOST")
|
||||
friendsGRPCPort := os.Getenv("PN_SPLATOON_FRIENDS_GRPC_PORT")
|
||||
friendsGRPCAPIKey := os.Getenv("PN_SPLATOON_FRIENDS_GRPC_API_KEY")
|
||||
tokenAesKey := os.Getenv("PN_PUYOPUYOTETRIS_AES_KEY")
|
||||
tokenAesKey := os.Getenv("PN_SPLATOON_AES_KEY")
|
||||
localAuthMode := os.Getenv("PN_SPLATOON_LOCAL_AUTH")
|
||||
|
||||
kerberosPassword := make([]byte, 0x10)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ func registerCommonSecureServerProtocols() {
|
|||
secureProtocol := secure.NewProtocol()
|
||||
globals.SecureEndpoint.RegisterServiceProtocol(secureProtocol)
|
||||
commonSecureProtocol := commonsecure.NewCommonProtocol(secureProtocol)
|
||||
|
||||
commonSecureProtocol.EnableInsecureRegister()
|
||||
commonSecureProtocol.CreateReportDBRecord = CreateReportDBRecord
|
||||
|
||||
natTraversalProtocol := nattraversal.NewProtocol()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user