Skip to content

Commit

Permalink
Stop displaying cloud-api in the Upload to Webonary Dialog
Browse files Browse the repository at this point in the history
* Resolves LT-20228, users were confused by the cloud-api in the url
  and showing www makes it more clear what they should type
  • Loading branch information
jasonleenaylor committed Apr 5, 2024
1 parent aafa0f8 commit 3183c45
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Src/xWorks/UploadToWebonaryDlg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@ public UploadToWebonaryDlg(UploadToWebonaryController controller, UploadToWebona

private void siteNameBox_TextChanged(object sender, EventArgs e)
{
var subDomain = m_controller.UseJsonApi ? "cloud-api" : "www";
// ReSharper disable once LocalizableElement -- this is the *world-wide* web, not a LAN.
webonarySiteURLLabel.Text = $"https://{subDomain}.{UploadToWebonaryController.Server}/{webonarySiteNameTextbox.Text}";
webonarySiteURLLabel.Text = $"https://www.{UploadToWebonaryController.Server}/{webonarySiteNameTextbox.Text}";
}

private void UpdateEntriesToBePublishedLabel()
Expand Down

0 comments on commit 3183c45

Please sign in to comment.