From 360bf6d311d3ef49784ef139c5bc8906c7c5730c Mon Sep 17 00:00:00 2001 From: Krisztian Somoracz Date: Tue, 21 Jun 2022 22:21:27 +0200 Subject: [PATCH] fix: base path change + fix game urls --- .github/workflows/prod-ci.yml | 4 ++-- src/components/gamer-zone/gamer-zone.jsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/prod-ci.yml b/.github/workflows/prod-ci.yml index 58c0d0a..801f770 100644 --- a/.github/workflows/prod-ci.yml +++ b/.github/workflows/prod-ci.yml @@ -38,9 +38,9 @@ jobs: uses: SamKirkland/FTP-Deploy-Action@4.3.0 with: local-dir: "./build/" - server-dir: ./web/ + server-dir: ./ server: ${{secrets.FTP_SERVER}} username: ${{secrets.FTP_USER_NAME}} password: ${{secrets.FTP_PASSWORD}} exclude: .git* - .git*/** - .vscode/** - .github/** - *.gpg - *.keys - dangerous-clean-slate: true + dangerous-clean-slate: false diff --git a/src/components/gamer-zone/gamer-zone.jsx b/src/components/gamer-zone/gamer-zone.jsx index 1bf40fa..935c3d8 100644 --- a/src/components/gamer-zone/gamer-zone.jsx +++ b/src/components/gamer-zone/gamer-zone.jsx @@ -11,19 +11,19 @@ const games = [ label: "Impossible Wheels", target: "impossible-wheels", preview: "/games/impossible-wheels/media/preview.webp", - url: "http://flashplusplus.net/html-game-standalone/impossible-wheels", + url: "https://flashplusplus.net/html-game-standalone/impossible-wheels", }, { label: "Valley Race", target: "valley-race", preview: "/games/valley-race/media/preview.webp", - url: "http://flashplusplus.net/html-game-standalone/valley-race", + url: "https://flashplusplus.net/html-game-standalone/valley-race", }, { label: "Mountain Monster", target: "mountain-monster", preview: "/games/mountain-monster/media/preview.webp", - url: "http://flashplusplus.net/html-game-standalone/mountain-monster-html5", + url: "https://flashplusplus.net/html-game-standalone/mountain-monster-html5", }, ];