🧚 A practical web framework for Gleam

Fix some typos in file example's comments

authored by Filip Tarajko and committed by Louis Pilfold 7527062e 12566a57

Changed files
+3 -3
examples
10-working-with-files
src
+3 -3
examples/10-working-with-files/src/app/router.gleam
··· 51 51 |> wisp.set_header("content-type", "text/plain") 52 52 // The content-disposition header is set by this function to ensure this is 53 53 // treated as a file download. If the file was uploaded by the user then you 54 - // want to ensure that this header is ste as otherwise the browser may try to 55 - // display the file, which could enable in cross-site scripting attacks. 54 + // want to ensure that this header is set as otherwise the browser may try to 55 + // display the file, which could enable cross-site scripting attacks. 56 56 |> wisp.file_download_from_memory( 57 57 named: "hello.txt", 58 58 containing: file_contents, ··· 63 63 use <- wisp.require_method(req, Get) 64 64 65 65 // In this case the file exists on the disc. 66 - // Here's we're using the project README, but in a real application you'd 66 + // Here we're using the project README, but in a real application you'd 67 67 // probably have an absolute path to wherever it is you keep your files. 68 68 let file_path = "./README.md" 69 69