Production Build Working
This commit is contained in:
@@ -8,7 +8,7 @@ class JsonWebToken
|
||||
# secret key used to sign the token
|
||||
# make sure to keep this secret in .env (never hardcode and check before pushing to github)
|
||||
# will crash if JWT_SECRET_KEY is not set - this is intentional for security
|
||||
SECRET_KEY = ENV.fetch("JWT_SECRET_KEY")
|
||||
SECRET_KEY = ENV.fetch("DEVISE_JWT_SECRET_KEY")
|
||||
|
||||
# encode payload into a jwt
|
||||
# payload is usually like: { user_id: 1 }
|
||||
|
||||
Reference in New Issue
Block a user