Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds the possibility of interpret dot files in the public directory as assets #72

Merged
merged 5 commits into from
Sep 23, 2020

Conversation

nunomaduro
Copy link
Member

This pull request adds the possibility of interpret dot files in the public directory as assets.

To enable this option, developers need to add the following option to their vapor.yml:

id: 1
name: test
dot-files-as-assets: true

Since this is optional, there is no breaking changes on existing applications.

As mentioned on this pull request: This is particular useful for developers deploying PWAs using Vapor, as they may want to serve assets that contain dots: your-domain.com/.well-known/assetlinks.json.

@taylorotwell taylorotwell merged commit 64d408e into master Sep 23, 2020
@nunomaduro nunomaduro deleted the feat/copy-dot-folders-to-assets branch December 14, 2020 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants