1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-02-17 10:13:30 +01:00

Fix spelling error

This commit is contained in:
Yuki Okushi 2020-05-26 17:14:33 +09:00
parent 6560a2285f
commit 7870165da2
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1

View File

@ -521,7 +521,7 @@ impl Service for FilesService {
Err(e) => return Either::Left(ok(req.error_response(e))),
};
// full filepath
// full file path
let path = match self.directory.join(&real_path.0).canonicalize() {
Ok(path) => path,
Err(e) => return self.handle_err(e, req),