Skip to content

fix: Allow URLs without explicit port for whiteboard config#157

Merged
seriAlizations merged 3 commits into
mainfrom
ah/dev/whiteboard-allow-empty-ports
May 5, 2026
Merged

fix: Allow URLs without explicit port for whiteboard config#157
seriAlizations merged 3 commits into
mainfrom
ah/dev/whiteboard-allow-empty-ports

Conversation

@seriAlizations
Copy link
Copy Markdown
Contributor

@seriAlizations seriAlizations commented May 4, 2026

For whiteboard backend to be able to connect, we need to configure.sh to allow urls without explicit port also.

Signed-off-by: Aliza Held <aliza.held@strato.de>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the deployment/configuration script so the whiteboard app's collabBackendUrl can be assembled conditionally instead of always forcing a port suffix. This fits into the repo's bootstrap flow by adjusting how app settings are written during configure.sh.

Changes:

  • Adds conditional logic in configure_whiteboard_app() before composing collabBackendUrl.
  • Switches the whiteboard OCC config call to use the computed URL value directly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread configure.sh Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread configure.sh
Comment on lines +434 to +435
_collab_backend_port="${APP_WHITEBOARD_COLLABBACKEND_PORT:-3002}"
if [ "${_collab_backend_port}" != "-" ]; then
@seriAlizations seriAlizations changed the title fix: Allow empty ports for whiteboard config fix: Allow URLs without explicit port for whiteboard config May 5, 2026
Copy link
Copy Markdown
Contributor

@printminion-co printminion-co left a comment

Choose a reason for hiding this comment

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

ok with amends

Comment thread configure.sh
@seriAlizations seriAlizations merged commit 749264d into main May 5, 2026
12 checks passed
@seriAlizations seriAlizations deleted the ah/dev/whiteboard-allow-empty-ports branch May 5, 2026 13:01
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.

3 participants