Skip to content

Commit

Permalink
Merge pull request #210 from Suwayomi/main
Browse files Browse the repository at this point in the history
some fixes
  • Loading branch information
Robonau committed Jul 4, 2024
2 parents 0d4b2cf + 910d50c commit 2cfc4e0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -110,7 +102,6 @@ jobs:
needs:
- build
- GenTag
- ComputeThemes
- RepoName
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions src/routes/(app)/manga/[MangaID]/(manga)/chaptersSide.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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' })
Expand All @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion versionToServerVersionMapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2cfc4e0

Please sign in to comment.