Skip to content

fix(chat): dynamically resolve base domains for subdomain link rendering - #493

Merged
trtajim merged 1 commit into
mainfrom
fix/dynamic-chat-domains
Nov 3, 2026
Merged

trtajim merged 1 commit into
mainfrom
fix/dynamic-chat-domains

Conversation

@trtajim

@trtajim trtajim commented Nov 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Completely eliminates hardcoded domain references (hscstack.com, www.hscstack.com) in resources/js/pages/Chat/Index.vue.
  • Adds dynamic getBaseDomain helper that extracts the root domain from window.location.hostname and VITE_APP_URL.
  • Allows URLs from any subdomains (e.g. *.hscstack.site, *.hscstack.com, *.domain.tld) to be properly recognized and rendered as links in chat messages.
  • Clean formatting and linting pass (npm run format && composer lint && npm run lint).

@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@trtajim
trtajim merged commit 98f8265 into main Nov 3, 2026
5 of 6 checks passed
@trtajim
trtajim deleted the fix/dynamic-chat-domains branch November 3, 2026 17:11
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.

1 participant