Allow reading and writing rules.json

I like the idea of letting the user write to a file themselves for rules, but I think this is going to significantly slow things down. Will probably switch to SQL table at some point. Also very hardcoded for my purposes. ALSO  the code looks bad, I think there must be a better way...
This commit is contained in:
mitteneer 2025-04-19 15:01:30 -04:00
parent 18cdb48b53
commit 5383b69eb6
2 changed files with 45 additions and 21 deletions

3
.gitignore vendored
View file

@ -6,4 +6,5 @@ static/
src/app/database/data.db-journal
src/app/database/old_migrations/
src/lib
src/app/scripts/
src/app/scripts/
rules.json