|
@@ -62,7 +62,7 @@ exports.swigFilters = function(app, swig) {
|
|
|
// define a function for Gravatar
|
|
// define a function for Gravatar
|
|
|
const generateGravatarSrc = function(user) {
|
|
const generateGravatarSrc = function(user) {
|
|
|
const hash = md5(user.email.trim().toLowerCase());
|
|
const hash = md5(user.email.trim().toLowerCase());
|
|
|
- return `http://www.gravatar.com/avatar/${hash}`;
|
|
|
|
|
|
|
+ return `https://gravatar.com/avatar/${hash}`;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
// define a function for uploaded picture
|
|
// define a function for uploaded picture
|