From 170b4a1f27763ea4cfeedb8776b036ecd2b29468 Mon Sep 17 00:00:00 2001 From: Shiny Nematoda Date: Wed, 21 Sep 2022 11:24:41 +0000 Subject: [PATCH] Fixed: - Blank custom api url - Collapsing .pl-item without art --- .woodpecker/surge.yml | 14 ++-- index.html | 8 ++- src/components/NavBar.vue | 6 +- src/components/Player.vue | 28 +++----- src/components/Playlists.vue | 4 +- src/components/Prefs.vue | 34 +++++++++- src/locales/ar.json | 126 +++++++++++++++++------------------ 7 files changed, 124 insertions(+), 96 deletions(-) diff --git a/.woodpecker/surge.yml b/.woodpecker/surge.yml index 3118c96..a874fa6 100644 --- a/.woodpecker/surge.yml +++ b/.woodpecker/surge.yml @@ -1,13 +1,19 @@ pipeline: - deploy: + build: image: node:alpine commands: - npm install - npm run build - - npm install surge + when: + event: [push, pull_request] + + deploy: + image: node:alpine + commands: + - npm install surge && npm audit fix - cp dist/index.html dist/200.html - npx surge ./dist hyperpipe.surge.sh - secrets: [ surge_login, surge_token ] + secrets: [surge_login, surge_token] when: branch: main - event: push \ No newline at end of file + event: push diff --git a/index.html b/index.html index b0d491b..905769a 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ http-equiv="Content-Security-Policy" content="default-src 'self'; img-src *; media-src * blob:; style-src 'unsafe-inline' 'self'; connect-src *" /> - - + + @@ -20,7 +20,9 @@ - + Hyperpipe diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 437b3f9..7a83f58 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -34,8 +34,10 @@ function set(page) {