mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-10-02 07:08:23 -05:00
fixed fullUrl function undefined
This commit is contained in:
@@ -160,9 +160,9 @@ function unpackToken(token) {
|
||||
}
|
||||
|
||||
function fullUrl(request) {
|
||||
const protocol = request.get('protocol');
|
||||
const host = request.get('host');
|
||||
const path = request.get('originalUrl');
|
||||
const protocol = request.protocol;
|
||||
const host = request.host;
|
||||
const path = request.originalUrl;
|
||||
|
||||
return `${protocol}://${host}${path}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user