This commit is contained in:
2023-02-17 02:15:09 +00:00
parent 2f4d994d21
commit 6cce89dbf4
2 changed files with 9 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
//#define DEVELOPMENT_TEST_ROCKFISH
//#define DEVELOPMENT_TEST_SOCKEYE
using System;
using System.Text;
using System.Threading.Tasks;
@@ -34,16 +34,18 @@ namespace AyaNova.Core
//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
#if (DEVELOPMENT_TEST_SOCKEYE)
// private const string LICENSE_SERVER_URL_ROCKFISH = "http://localhost:3001/";
// private const string LICENSE_SERVER_URL_ROCKFISH = "https://sockeye.ayanova.com/";
private const string LICENSE_SERVER_URL_ROCKFISH = "http://localhost:7676/";
#warning FYI DEVELOPMENT_TEST_SOCKEYE 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!!!!
#if (DEVELOPMENT_TEST_SOCKEYE && !DEBUG)
#error ### HOLDUP: DEVELOPMENT_TEST_SOCKEYE is defined in a RELEASE BUILD!!!!
#endif