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

wildcard entry #202

Open
bhenderson opened this issue Oct 9, 2017 · 0 comments
Open

wildcard entry #202

bhenderson opened this issue Oct 9, 2017 · 0 comments

Comments

@bhenderson
Copy link

I have an invoker.ini file like this:

[foo]
dir = foo

[api.foo]
dir = api

[bar.foo]
dir = bar

My problem is that foo.dev is my "main" site, but I need *.foo.dev to go to api (other than bar).
My current thinking is to allow a directive wildcard = true or alias = *.foo

bhenderson added a commit to bhenderson/invoker that referenced this issue Oct 9, 2017
Config now accepts a new directive: alias
Multiple aliases can be separated by a comma
Special characters are:
        *: Will match one subpath
        **: Will match any subpaths
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

No branches or pull requests

1 participant