mirror of
https://github.com/Xevion/dynamic-preauth.git
synced 2025-12-16 14:11:44 -06:00
chore: add bacon config and improve dev workflow
- Add bacon.toml for Rust development watching with keybindings - Update Justfile to use bacon for dev watching - Configure frontend to build to ./public for backend serving - Improve Justfile organization with comments and better task separation - Add dev-backend and dev-frontend tasks for separate workflows - Minor formatting fix in backend/src/state.rs
This commit is contained in:
@@ -42,12 +42,8 @@ impl State {
|
||||
.unwrap_or_default()
|
||||
.to_string();
|
||||
|
||||
let key_start =
|
||||
Executable::search_pattern(&data, pattern.as_bytes(), 0).ok_or_else(|| {
|
||||
AppError::KeyPatternNotFound {
|
||||
name: name.clone(),
|
||||
}
|
||||
})?;
|
||||
let key_start = Executable::search_pattern(&data, pattern.as_bytes(), 0)
|
||||
.ok_or_else(|| AppError::KeyPatternNotFound { name: name.clone() })?;
|
||||
let key_end = key_start + pattern.len();
|
||||
|
||||
let extension = path
|
||||
|
||||
Reference in New Issue
Block a user