-
- Downloads
clean up guess_ip, template defaults
This cleans up the guess_ip function to use a match block instead of ifs Templating has been cleaned up as to not break on a new domain
Showing
- .gitea/workflows/test.yaml 13 additions, 6 deletions.gitea/workflows/test.yaml
- src/handlers/delete_file.rs 4 additions, 5 deletionssrc/handlers/delete_file.rs
- src/handlers/index.rs 2 additions, 2 deletionssrc/handlers/index.rs
- src/handlers/mod.rs 16 additions, 44 deletionssrc/handlers/mod.rs
- src/handlers/serve_static.rs 8 additions, 7 deletionssrc/handlers/serve_static.rs
- src/handlers/upload.rs 6 additions, 11 deletionssrc/handlers/upload.rs
Please register or sign in to comment