diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bedac96..f7aadc1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,14 +33,6 @@ jobs: string: ${{ github.repository_owner }}/${{ github.event.repository.name }} - name: Set Repo Name run: echo "REPO_NAME=${{ steps.RepoName.outputs.lowercase }}" >> $GITHUB_OUTPUT - ComputeThemes: - runs-on: ubuntu-latest - outputs: - value: ${{ env.THEMES }} - steps: - - name: Compute Themes - run: | - echo "value=$THEMES" >> $GITHUB_OUTPUT GenTag: outputs: value: ${{steps.GenTagName.outputs.value}} @@ -110,7 +102,6 @@ jobs: needs: - build - GenTag - - ComputeThemes - RepoName runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index b97ea08..775b150 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ Robonau's Svelte + skeleton suwayomi UI # How To Use: +## Suwayomi Server Integrated + +when running the Suwayomi server you can change the WebUI Flavor to VUI, it will then replace the Default WebUI with VUI. + ## Web Server files The Suwayomi-VUI-Web.zip file in the release is for hosting the ui though `server.webUIFlavor = "Custom"` config and replacing the contents of the webUI folder in the Suwayomi data directory diff --git a/default.conf b/default.conf index 1075a1b..b0b3bdb 100644 --- a/default.conf +++ b/default.conf @@ -3,9 +3,15 @@ server { server_name localhost; error_page 404 /index.html; client_max_body_size 10M; + port_in_redirect off; location / { - alias /usr/share/nginx/html/; - try_files $uri $uri/ /404.html =404; + proxy_redirect off; + # proxy_set_header Host $host:$server_port; + # proxy_set_header X-Forwarded-Host $http_host; + # proxy_set_header X-Real-IP $remote_addr; + # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + root /usr/share/nginx/html; + try_files $uri $uri.html /index.html =404; } location /api { client_max_body_size 10M; diff --git a/src/routes/(app)/manga/[MangaID]/(manga)/chaptersSide.svelte b/src/routes/(app)/manga/[MangaID]/(manga)/chaptersSide.svelte index d38af21..738ab88 100644 --- a/src/routes/(app)/manga/[MangaID]/(manga)/chaptersSide.svelte +++ b/src/routes/(app)/manga/[MangaID]/(manga)/chaptersSide.svelte @@ -67,7 +67,6 @@ (ee) => ee.chapter.id === e.chapter.id ) ); - console.log(filtered); if ((filtered?.length ?? 0) > 2) { client .query(getManga, { id: MangaID }, { requestPolicy: 'network-only' }) @@ -77,7 +76,6 @@ const existingDownload = $downloads?.data?.downloadChanged.queue.find( (e) => e.chapter.id === element.chapter.id ); - console.log(element.chapter, existingDownload); if (!existingDownload) { client .query( diff --git a/versionToServerVersionMapping.json b/versionToServerVersionMapping.json index 9f7f0ac..02a9fa0 100644 --- a/versionToServerVersionMapping.json +++ b/versionToServerVersionMapping.json @@ -5,7 +5,7 @@ }, { "tag": "v1.1.0", - "uiVersion": "r1074", + "uiVersion": "r1077", "serverVersion": "r1502", "comment": "the server version is between 1.0.0 and 1.1.0 release", "comment2": "because its the preview version that implemented the breaking changes"