mirror of
https://github.com/Blair-SGA-Dev-Team/blazerapp.git
synced 2026-07-16 06:50:22 -04:00
fix to redirect
This commit is contained in:
@@ -125,14 +125,6 @@ pub mod defs {
|
||||
type Error = ();
|
||||
|
||||
fn from_form_value(value: &'v RawStr) -> Result<Image, ()> {
|
||||
/*
|
||||
println!("{:?}", value);
|
||||
let file = NamedFile::open(value.to_string());
|
||||
println!("{:?}", file);
|
||||
|
||||
Ok(Image(String::from("pepega")))
|
||||
*/
|
||||
|
||||
let value_uri = match value.url_decode() {
|
||||
Ok(n) => n,
|
||||
Err(_) => return Err(()),
|
||||
|
||||
Reference in New Issue
Block a user