From 565d4c3fcd5ddbaacd52fe2b81a3b47f9315ae36 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Mon, 30 Nov 2020 16:09:25 +0100 Subject: [PATCH] trying to implement code signing support --- .gitlab-ci.yml | 2 +- src/components/Main.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b89ce66..08c69f5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,7 @@ signing: - wget -q -O- https://packages.sury.org/php/apt.gpg | apt-key add - - echo "deb https://packages.sury.org/php/ stretch main" | tee /etc/apt/sources.list.d/php.list - apt-get update - - DEBIAN_FRONTEND="noninteractive" apt install -y php7.2 php7.2-gd php7.2-json php7.2-mysql php7.2-curl php7.2-intl php7.2-mcrypt php7.2-imagick php7.2-zip php7.2-xmlwriter php7.2-xmlreader php7.2-xml php7.2-mbstring php7.2-simplexml + - DEBIAN_FRONTEND="noninteractive" apt install -y php7.2 php7.2-gd php7.2-json php7.2-mysql php7.2-curl php7.2-intl php7.2-imagick php7.2-zip php7.2-xmlwriter php7.2-xmlreader php7.2-xml php7.2-mbstring php7.2-simplexml - wget https://download.nextcloud.com/server/releases/nextcloud-20.0.2.tar.bz2 - tar xvf nextcloud-20.0.2.tar.bz2 - echo "-----BEGIN PRIVATE KEY-----" > sign.key diff --git a/src/components/Main.vue b/src/components/Main.vue index 85da05c..79d05c7 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -439,9 +439,9 @@ export default { }, loadSettings() { - // axios.defaults.headers.common = { - // 'User-Agent': 'Nextcloud Radio App/' + this.$version, - // } + axios.defaults.headers.common = { + 'User-Agent': 'Nextcloud Radio App/' + this.$version, + } this.$store.dispatch('getVolumeState') },