app_data(web::Data::new( awmp::PartsConfig.with_temp_dir("/home/o/blah/static/image"); // returns struct not //value )
Asked
Active
Viewed 45 times
1 Answers
0
this syntax is wrong, my bad. for the code to return a value, the correct code is: ... app_data(awmp::PartsConfig::default().with_temp_dir("#directory_name")...

Raphael Hawk
- 11
- 6