Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
adds debug/release compiler flags re url overloading for ui app
Browse files Browse the repository at this point in the history
  • Loading branch information
didimitrie committed Aug 16, 2019
1 parent fd75f00 commit 68864ca
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions SpeckleUiTester/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ namespace SpeckleUiTester
/// </summary>
public partial class App : Application
{
SpeckleUiWindow UiWindow;
private void Application_Startup( object sender, StartupEventArgs e )
{
var speckleUiWindow = new SpeckleUiWindow( new TestBindings() );
speckleUiWindow.Show();

#if DEBUG
UiWindow = new SpeckleUiWindow( new TestBindings(), @"http://10.211.55.2:8080/#/" );
#else
UiWindow = new SpeckleUiWindow( new TestBindings() ); // On release, default to the latest ci-ed version from https://appui.speckle.systems
#endif

UiWindow.Show();
}
}

Expand Down

0 comments on commit 68864ca

Please sign in to comment.