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

Fix public_dir option #1295

Closed
wants to merge 2 commits into from
Closed

Fix public_dir option #1295

wants to merge 2 commits into from

Conversation

xsawyerx
Copy link
Member

This resolves #975.

The problem in GH #975 is that we decide what the public_dir should
be before we read the configuration, which might give a different
public dir.

This can be resolved by deciding this later, during the to_app
time.

The additional problem this exposes is that public_dir created from
both DANCER_PUBLIC and "public_dir" configruation option does not
take into account the location (app dir). I don't think that's
correct. The test shows this in the config.yml file.
@xsawyerx xsawyerx added the Bug label Dec 14, 2016
@cromedome
Copy link
Contributor

👍

@xsawyerx
Copy link
Member Author

@PerlDancer/core, any other approvals?

@mickeyn
Copy link
Contributor

mickeyn commented Dec 20, 2016

seems legit

@cromedome cromedome closed this Dec 21, 2016
@cromedome cromedome deleted the fix/gh-975 branch December 21, 2016 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

public_dir option does not seem to work
3 participants