Remove my own VPS DNS

This commit is contained in:
Yohann D'ANELLO 2020-03-23 22:42:56 +01:00
parent d6e00f7bba
commit 2defb04d52
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function li(id, text) {
*/
function displayNote(note, alias, user_note_field=null, profile_pic_field=null) {
if (!note.display_image) {
note.display_image = 'https://nk20.ynerant.fr/media/pic/default.png';
note.display_image = '/media/pic/default.png';
$.getJSON("/api/note/note/" + note.id + "/?format=json", function(new_note) {
note.display_image = new_note.display_image.replace("http:", "https:");
note.name = new_note.name;