adds another build configuration

This commit is contained in:
Paul Schneider 2016-12-22 02:42:26 +01:00
commit a548eeab3e
2 changed files with 5 additions and 5 deletions

View file

@ -22,7 +22,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;DEV</DefineConstants>
<DefineConstants>TRACE;DEBUG;WDEV</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet />

View file

@ -11,11 +11,13 @@ namespace BookAStar
{
public const string ApplicationName = "Booking Star";
#region Uri
#if DEV
public const string YavscHomeUrl = "http://dev.pschneider.fr";
#else
#if WDEV
public const string YavscHomeUrl = "http://192.168.0.39:5000";
#else
#if YAVSC
public const string YavscHomeUrl = "https://yavsc.pschneider.fr";
#else
@ -25,6 +27,7 @@ namespace BookAStar
public const string YavscHomeUrl = "https://booking.pschneider.fr";
#endif
#endif
#endif
#endif
public static readonly string AuthorizeUrl = YavscHomeUrl + "/authorize";
public static readonly string RedirectUrl = YavscHomeUrl + "/oauth/success";
@ -36,11 +39,8 @@ namespace BookAStar
public static readonly string BlogUrl = YavscApiUrl + "/blogs";
public static readonly string FsUrl = YavscApiUrl + "/fs";
public static readonly string SignalRHubsUrl = YavscHomeUrl + "/api/signalr/hubs";
#endregion
#region Permissions ids
public static int AllowBeATarget = 1;
#endregion
public static int CloudTimeout = 400;
}