chore: Add readme file and adjust configuration for better defaults

This commit is contained in:
Juan Pablo Villafáñez
2024-04-17 15:54:50 +02:00
parent 3e90402350
commit ecc235bbec
10 changed files with 41 additions and 18 deletions
@@ -48,7 +48,7 @@ func Server(opts ...Option) (http.Service, error) {
),
middleware.ExtractAccountUUID(
account.Logger(options.Logger),
account.JWTSecret(options.Config.Secret), // previously, secret came from Config.TokenManager.JWTSecret
account.JWTSecret(options.Config.JWTSecret), // previously, secret came from Config.TokenManager.JWTSecret
),
/*
// Need CORS? not in the original server