Created
April 13, 2017 04:28
-
-
Save bolerap/f73470ab3e34c4ca5501dc3bbef9a625 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use middleware to serve static | |
| router.Use(static.Serve("/", static.LocalFile("./frontend/dist", true))) | |
| router.Use(static.Serve("/download", static.LocalFile("./output", true))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment