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

入室した部屋の接続情報を必要に応じて調整できるように #83

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

makiuchi-d
Copy link
Member

gameサーバにWebSocketで接続前に、URLを書き換えたりできるようにしました

@makiuchi-d
Copy link
Member Author

makiuchi-d commented Mar 12, 2024

具体的な利用場面

たとえばGlobalAccelerator (GA)を利用する場合、Publicホスト名としてGAのものをDBに記録します。
そうすることで入室したときlobbyから帰ってくる接続先URLはGA経由になっています。

一方、MasterClientを同一リージョンで動かしている場合、GA経由にせずローカルで接続したいです。
このPRで追加したActionでURLをローカルのホスト名に書き換えればローカルで接続できるようになります。

@makiuchi-d makiuchi-d requested a review from inada-s March 12, 2024 05:39
Copy link
Collaborator

@inada-s inada-s left a comment

Choose a reason for hiding this comment

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

問題ないと思います

@inada-s inada-s merged commit 0a940c5 into main Mar 14, 2024
1 check passed
@methane methane deleted the csharp-adjust-joined-room-info branch March 14, 2024 05:58
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