Files
speckle-sharp-connectors/DUI3/Speckle.Connectors.DUI/Url.cs
T
kekesidavid 4bb67318a8 feat(revit): Reference Point Setting on Receive (#948)
* Receive settings

* wip

* wip

* resolved warnings

* cleanup

* cleanup

* netlify url restored

* review comments fixed

---------

Co-authored-by: oguzhankoral <oguzhankoral@gmail.com>
Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2025-06-27 13:53:30 +02:00

22 lines
874 B
C#

namespace Speckle.Connectors.DUI;
// POC: XAML file accept Static only, but later we can search more is it possible to inject this? or necessary??
/// <summary>
/// Only place that we reference to URLs to connector UIs.
/// </summary>
/// <remarks>
/// If we are on 'work in progress' branch on UI repo,
/// we can replace the netlify url with 'preview' one which is provided within each PR.
/// sample url produced by PR on `dui3` branch on `speckle-server` -> deploy-preview-2076--boisterous-douhua-e3cefb.netlify.app
/// </remarks>
public static class Url
{
public static readonly Uri Netlify = new("https://boisterous-douhua-e3cefb.netlify.app/");
// public static readonly Uri Netlify = new("http://localhost:8082/");
// In CefSharp XAML file we cannot call ToString() function over URI
public static readonly string NetlifyString = Netlify.ToString();
}