Created
April 28, 2020 13:25
-
-
Save fitomad/4fb67f05633b1caa649f5b93db1345ee to your computer and use it in GitHub Desktop.
This file contains 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
// configures your application | |
public func configure(_ app: Application) throws { | |
// Ahora ya se sirven los archivos | |
// ubicados la carpeta /Publicr | |
app.middleware.use(FileMiddleware(publicDirectory: app.directory.publicDirectory)) | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment