Enhance performance and error handling in the application

- Optimize release profile settings in Cargo.toml
- Update Dockerfile to include additional binary
- Modify compose.yml to adjust database URL for read/write mode
- Improve error handling in API calls within api.ts
- Refactor character properties in types.ts for clarity
- Update Card component to reflect new character properties
- Revise utility functions for better episode handling
This commit is contained in:
2025-07-20 15:15:30 +02:00
parent 27e9119123
commit c5de84c013
9 changed files with 95 additions and 75 deletions

View File

@@ -24,3 +24,10 @@ tower-http = { version = "0.6.6", features = ["cors", "fs", "trace"] }
tracing = "0.1.41"
tracing-log = "0.2.0"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "fmt"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true