diff options
Diffstat (limited to 'deskutils/readur/files/patch-src_main.rs')
-rw-r--r-- | deskutils/readur/files/patch-src_main.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deskutils/readur/files/patch-src_main.rs b/deskutils/readur/files/patch-src_main.rs new file mode 100644 index 000000000000..e618d6c71c78 --- /dev/null +++ b/deskutils/readur/files/patch-src_main.rs @@ -0,0 +1,11 @@ +--- src/main.rs.orig 2025-07-13 01:04:13 UTC ++++ src/main.rs +@@ -23,6 +23,8 @@ fn determine_static_files_path() -> std::path::PathBuf + + // List of possible static file locations in order of preference + let possible_paths = vec![ ++ // FreeBSD ++ PathBuf::from("%%WWWDIR%%"), + // Docker/production environment - frontend build copied to /app/frontend/dist + current_dir.join("frontend/dist"), + // Development environment - frontend build in local frontend/dist |