This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#define DEVELOPMENT_TEST_ROCKFISH
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@@ -28,18 +29,29 @@ namespace AyaNova.Core
|
||||
internal static class License
|
||||
{
|
||||
|
||||
|
||||
|
||||
//License server addresses
|
||||
// private const string LICENSE_SERVER_URL_ROCKFISH = "https://rockfish.ayanova.com/";
|
||||
|
||||
#if (DEVELOPMENT_TEST_ROCKFISH)
|
||||
private const string LICENSE_SERVER_URL_ROCKFISH = "http://localhost:3001/";
|
||||
#warning FYI DEVELOPMENT_TEST_ROCKFISH is defined
|
||||
#else
|
||||
private const string LICENSE_SERVER_URL_ROCKFISH = "https://rockfish.ayanova.com/";
|
||||
#endif
|
||||
|
||||
//CRITICAL PROBLEM IF THIS IS TRUE
|
||||
#if(DEVELOPMENT_TEST_ROCKFISH && !DEBUG)
|
||||
#error ### HOLDUP: DEVELOPMENT_TEST_ROCKFISH is defined in a RELEASE BUILD!!!!
|
||||
#endif
|
||||
|
||||
|
||||
private const string LICENSE_SERVER_URL_IO = "https://io.ayanova.com/";
|
||||
private const string LICENSE_SERVER_URL_EUROPA = "https://europa.ayanova.com/";
|
||||
private const string LICENSE_SERVER_URL_CALLISTO = "https://callisto.ayanova.com/";
|
||||
|
||||
|
||||
// #if (DEBUG)
|
||||
// private const string LICENSE_SERVER_URL = "http://localhost:3001/";
|
||||
// #else
|
||||
// private const string LICENSE_SERVER_URL = "https://rockfish.ayanova.com/";
|
||||
// #endif
|
||||
|
||||
//Unlicensed token
|
||||
private const string UNLICENSED_TOKEN = "UNLICENSED";
|
||||
|
||||
Reference in New Issue
Block a user