sidecar network host
This commit is contained in:
+1
-1
@@ -31,5 +31,5 @@ export async function sign(payload: any, expiration = '30d') {
|
||||
}
|
||||
|
||||
export async function verify(token: string): Promise<any> {
|
||||
return jwtVerify(token, JWT_SECRET!);
|
||||
return jwtVerify(token, JWT_SECRET!, 'HS256');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user