diff --git a/files/routes/feeds.py b/files/routes/feeds.py index bd54961e5..8a6692ac6 100644 --- a/files/routes/feeds.py +++ b/files/routes/feeds.py @@ -27,7 +27,7 @@ def feeds_user(sort='hot', t='all'): doc, tag, text = Doc().tagtext() - with tag("feed", ("xmlns:media","http://search.yahoo.com/mrss/"), xmlns="http://www.w3.org/2005/Atom",): + with tag("feed", ("xmlns:media","https://search.yahoo.com/mrss/"), xmlns="https://www.w3.org/2005/Atom",): with tag("title", type="text"): text(f"{sort} posts from {SITE}") diff --git a/files/templates/comments.html b/files/templates/comments.html index fb1cef757..08ba9a19b 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -891,7 +891,7 @@ color = 'rgba' + color.slice(3,-1) + ', 0.1)' const markTemplate = (name) => { - return `${name}`; + return `${name}`; }; const base64Mark = btoa(markTemplate("{{v.id}}")); diff --git a/imei.sh b/imei.sh index 7bf35fe5d..510dae245 100644 --- a/imei.sh +++ b/imei.sh @@ -409,28 +409,28 @@ install_deps() { # Allow installation of source files { if [[ "${OS_DISTRO,,}" == *"ubuntu"* ]]; then - echo 'deb http://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"' main restricted' - echo 'deb-src http://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"' main restricted universe multiverse' + echo 'deb https://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"' main restricted' + echo 'deb-src https://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"' main restricted universe multiverse' if [ -z "$BACKPORTS" ]; then - echo 'deb http://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"'-backports main restricted universe multiverse' - echo 'deb-src http://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"'-backports main restricted universe multiverse' + echo 'deb https://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"'-backports main restricted universe multiverse' + echo 'deb-src https://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"'-backports main restricted universe multiverse' fi elif [[ "${OS_DISTRO,,}" == *"debian"* ]]; then - echo 'deb http://deb.debian.org/debian '"$OS_SHORT_CODENAME"' main contrib non-free' - echo 'deb-src http://deb.debian.org/debian '"$OS_SHORT_CODENAME"' main contrib non-free' + echo 'deb https://deb.debian.org/debian '"$OS_SHORT_CODENAME"' main contrib non-free' + echo 'deb-src https://deb.debian.org/debian '"$OS_SHORT_CODENAME"' main contrib non-free' if [ -z "$BACKPORTS" ]; then - echo 'deb http://deb.debian.org/debian '"$OS_SHORT_CODENAME"'-backports main contrib non-free' - echo 'deb-src http://deb.debian.org/debian '"$OS_SHORT_CODENAME"'-backports main contrib non-free' + echo 'deb https://deb.debian.org/debian '"$OS_SHORT_CODENAME"'-backports main contrib non-free' + echo 'deb-src https://deb.debian.org/debian '"$OS_SHORT_CODENAME"'-backports main contrib non-free' fi elif [[ "${OS_DISTRO,,}" == *"raspbian"* ]]; then - echo 'deb http://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"' main contrib non-free' - echo 'deb-src http://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"' main contrib non-free' + echo 'deb https://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"' main contrib non-free' + echo 'deb-src https://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"' main contrib non-free' if [ -z "$BACKPORTS" ]; then - echo 'deb http://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"'-backports main contrib non-free' - echo 'deb-src http://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"'-backports main contrib non-free' + echo 'deb https://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"'-backports main contrib non-free' + echo 'deb-src https://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"'-backports main contrib non-free' fi else SKIP_BUILD_DEP="yes" diff --git a/ubuntu_setup.sh b/ubuntu_setup.sh index 1d87eedc7..7eda76404 100644 --- a/ubuntu_setup.sh +++ b/ubuntu_setup.sh @@ -13,7 +13,7 @@ cp ./startup.sh /scripts/s cp ./startup_chat.sh /scripts/s2 chmod +x /scripts/* -sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' +sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - apt -y update apt -y install postgresql-14