mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat: add docs and polish
This commit is contained in:
parent
a27fcce03b
commit
75d3e2edbd
9 changed files with 94 additions and 55 deletions
|
|
@ -14,7 +14,10 @@ import { SpotifyStrategy } from "./spotify.strategy";
|
|||
JwtModule.registerAsync({
|
||||
useFactory: (config: ConfigService) => ({
|
||||
secret: config.get<string>("JWT_SECRET"),
|
||||
signOptions: { expiresIn: config.get<string>("JWT_EXPIRATION_TIME") },
|
||||
signOptions: {
|
||||
expiresIn: config.get<string>("JWT_EXPIRATION_TIME"),
|
||||
algorithm: config.get("JWT_ALGORITHM"),
|
||||
},
|
||||
}),
|
||||
inject: [ConfigService],
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue