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

unable to use multiple subdomains to a single app using a wildcard #16

Closed
TBD opened this issue Aug 5, 2024 · 2 comments
Closed

unable to use multiple subdomains to a single app using a wildcard #16

TBD opened this issue Aug 5, 2024 · 2 comments

Comments

@TBD
Copy link

TBD commented Aug 5, 2024

trying to use a single small web app for multiple subdomain (eg one.zeno.localhost -> ~/smallweb/zeno)

added to ~/.config/smallweb/config.json - "*.zeno.localhost": "~/smallweb/zeno"

@pomdtr
Copy link
Owner

pomdtr commented Sep 5, 2024

Even though the config format is deprecated, I wonder if we could support this usecase using app directory names:

I'm thinking of taking inspiration from [URL Pattern] api:

ex: prefix-:name would match prefix-*

Using : is quite good because it does not conflict with shell globbing (*, [ and ] are used in globs).

@pomdtr
Copy link
Owner

pomdtr commented Oct 20, 2024

Closing this. I'm not planning to add back for wildcard support on a single app for now.

@pomdtr pomdtr closed this as completed Oct 20, 2024
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

2 participants