Skip to content

Commit

Permalink
Optimized Book Loading, Linux Workaround...
Browse files Browse the repository at this point in the history
[Changelog]
- Epubs are now loaded by URL instead of through invoke.
- This removes the need to serialize the bytes, and massively speeds up loading times.
- Because of a linux specific issue, documented below, a file server workaround will be used.

Main Issue:tauri-apps/tauri#3725
Fix Guide: tranxuanthang/lrcget@0a2fe99
See mention: tauri-apps/tauri#3725 (comment)

[Dependencies]
Added axum = "0.6.19"
Added tokio = { version = "1.29.1", features = ["full"] }
Added tower-http = { version = "0.4.3", features = ["fs", "cors"] }
  • Loading branch information
luxuereal committed Jul 27, 2023
1 parent 9a396ab commit 9c7ba14
Show file tree
Hide file tree
Showing 4 changed files with 536 additions and 218 deletions.
Loading

0 comments on commit 9c7ba14

Please # to comment.