Skip to content

feat: subdomain support#20

Open
xXJanisXx wants to merge 4 commits intorefactor/plugin-overhaulfrom
feat/subdomain-support
Open

feat: subdomain support#20
xXJanisXx wants to merge 4 commits intorefactor/plugin-overhaulfrom
feat/subdomain-support

Conversation

@xXJanisXx
Copy link
Copy Markdown

Summary

  • Adds subdomain config section to map subdomains to connections

Example Config

subdomain:
    enabled: true
    routes:
      - subdomain: "build.example.com"
        target-connection: "build"

)

@ConfigSerializable
data class SubdomainConfig(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think subdomain is a good name here, these are full addresses. I'd name this something like address


@ConfigSerializable
data class SubdomainConfig(
val enabled: Boolean = true,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need an enabled flag? If it should be disabled, you can just leave the list empty

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