IO-233 2 Way Paint Scale.
This commit is contained in:
@@ -5,7 +5,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.IO;
|
||||
|
||||
using RestSharp;
|
||||
namespace BodyshopPartner.Utils
|
||||
{
|
||||
public static class AppMetaData
|
||||
@@ -23,6 +23,9 @@ namespace BodyshopPartner.Utils
|
||||
private static string workingDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
|
||||
|
||||
public static string globalScriptsPath = @"C:\ImEX\PartnerScripts";
|
||||
public static RestClient RestClient;
|
||||
|
||||
|
||||
public static void CreateEndpoints()
|
||||
{
|
||||
logger.Debug("Creating endpoints for graphql.");
|
||||
@@ -31,14 +34,18 @@ namespace BodyshopPartner.Utils
|
||||
{
|
||||
#if DEBUG
|
||||
graphQlEndpoint = "https://bodyshop-dev-db.herokuapp.com/v1/graphql";
|
||||
RestClient = new RestClient("http://localhost:4000");
|
||||
FirebaseAPIKey = "AIzaSyDPLT8GiDHDR1R4nI66Qi0BY1aYviDPioc";
|
||||
|
||||
#elif TEST
|
||||
graphQlEndpoint = "https://db.test.bodyshop.app/v1/graphql";
|
||||
RestClient = new RestClient("https://api.test.imex.online");
|
||||
|
||||
FirebaseAPIKey = "AIzaSyBw7_GTy7GtQyfkIRPVrWHEGKfcqeyXw0c";
|
||||
|
||||
#else
|
||||
graphQlEndpoint = "https://db.imex.online/v1/graphql";
|
||||
RestClient = new RestClient("https://api.imex.online");
|
||||
FirebaseAPIKey = "AIzaSyDSezy-jGJreo7ulgpLdlpOwAOrgcaEkhU";
|
||||
#endif
|
||||
}
|
||||
@@ -49,16 +56,20 @@ namespace BodyshopPartner.Utils
|
||||
IsTest = true;
|
||||
|
||||
graphQlEndpoint = "https://db.test.bodyshop.app/v1/graphql";
|
||||
RestClient = new RestClient("https://api.test.imex.online");
|
||||
FirebaseAPIKey = "AIzaSyBw7_GTy7GtQyfkIRPVrWHEGKfcqeyXw0c";
|
||||
}
|
||||
else
|
||||
{
|
||||
#if DEBUG
|
||||
graphQlEndpoint = "https://bodyshop-dev-db.herokuapp.com/v1/graphql";
|
||||
RestClient = new RestClient("http://localhost:4000");
|
||||
FirebaseAPIKey = "AIzaSyDPLT8GiDHDR1R4nI66Qi0BY1aYviDPioc";
|
||||
#else
|
||||
graphQlEndpoint = "https://db.imex.online/v1/graphql";
|
||||
RestClient = new RestClient("https://api.imex.online");
|
||||
FirebaseAPIKey = "AIzaSyDSezy-jGJreo7ulgpLdlpOwAOrgcaEkhU";
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user