Files
ports/deskutils/readur/files/patch-src_main.rs
T
Jesús Daniel Colmenares Oviedo b066d35050 deskutils/readur: New port: Quick, painless, intuitive OCR platform
Readur is a powerful, modern document management system built with
Rust and React. Readur provides intelligent document processing
with OCR capabilities, full-text search, and a beautiful web interface
designed for 2026 tech standards.

Approved by:    acm (mentor)
2025-07-23 14:25:27 -04:00

12 lines
508 B
Rust

--- 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