mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 18:08:50 +00:00
serviceName
This commit is contained in:
parent
77b6c4d2f3
commit
f0f8d3cb71
@ -1,40 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Online build configuration
|
||||
*
|
||||
* @author Pierre HUBERT
|
||||
*/
|
||||
|
||||
//This configuration is based on the offline configuration
|
||||
require_once __DIR__."/offline.config.php";
|
||||
|
||||
class Beta_communiquons extends Offline {
|
||||
|
||||
/**
|
||||
* API access and credentials
|
||||
*/
|
||||
const API_URL = "https://api.communiquons.org/";
|
||||
const API_SERVICE_NAME = "ComunicWebBeta";
|
||||
const API_SERVICE_TOKEN = "txC7K5snAT";
|
||||
|
||||
/**
|
||||
* Site URL
|
||||
*/
|
||||
const SITE_URL = "https://beta.communiquons.org/";
|
||||
|
||||
/**
|
||||
* Site production mode
|
||||
*/
|
||||
const PROD_MODE = TRUE;
|
||||
|
||||
/**
|
||||
* Path to assets (URL)
|
||||
*/
|
||||
const ASSETS_URL = "https://beta.communiquons.org/assets/".BUILD_TIME."/";
|
||||
|
||||
/**
|
||||
* Site requires https connection
|
||||
*/
|
||||
const FORCE_HTTPS = true;
|
||||
|
||||
}
|
@ -14,8 +14,8 @@ class Communiquons extends Offline {
|
||||
* API access and credentials
|
||||
*/
|
||||
const API_URL = "https://api.communiquons.org/";
|
||||
const API_SERVICE_NAME = "ComunicWEB";
|
||||
const API_SERVICE_TOKEN = "BVuWUt4m";
|
||||
const API_CLIENT_NAME = "ComunicWEB";
|
||||
|
||||
|
||||
/**
|
||||
* Site URL
|
||||
|
@ -1,45 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* comunic.io build configuration
|
||||
*
|
||||
* @author Pierre HUBERT
|
||||
*/
|
||||
|
||||
//This configuration is based on the offline configuration
|
||||
require_once __DIR__."/offline.config.php";
|
||||
|
||||
class Comunic_io extends Offline {
|
||||
|
||||
/**
|
||||
* API access and credentials
|
||||
*/
|
||||
const API_URL = "https://api.communiquons.org/";
|
||||
const API_SERVICE_NAME = "ComunicIO";
|
||||
const API_SERVICE_TOKEN = "UxvYud4xSOslVFANWYcD";
|
||||
|
||||
/**
|
||||
* Site URL
|
||||
*/
|
||||
const SITE_URL = "https://comunic.io/";
|
||||
|
||||
/**
|
||||
* About website access
|
||||
*/
|
||||
const ABOUT_WEBSITE_URL = "https://about.comunic.io/";
|
||||
|
||||
/**
|
||||
* Site production mode
|
||||
*/
|
||||
const PROD_MODE = TRUE;
|
||||
|
||||
/**
|
||||
* Path to assets (URL)
|
||||
*/
|
||||
const ASSETS_URL = "https://comunic.io/assets/".BUILD_TIME."/";
|
||||
|
||||
/**
|
||||
* Site requires https connection
|
||||
*/
|
||||
const FORCE_HTTPS = true;
|
||||
|
||||
}
|
@ -11,8 +11,7 @@ class Dev {
|
||||
* API access and credentials
|
||||
*/
|
||||
const API_URL = "https://devweb.local/comunic/api-v2/"; //"http://devweb.local/comunic/api/";
|
||||
const API_SERVICE_NAME = "ComunicWeb";
|
||||
const API_SERVICE_TOKEN = "12XU67pJUlnNQ";
|
||||
const API_CLIENT_NAME = "ComunicWeb";
|
||||
|
||||
/**
|
||||
* Site URL
|
||||
|
@ -19,8 +19,7 @@ class Docker extends Offline {
|
||||
* API access and credentials
|
||||
*/
|
||||
const API_URL = self::CONTAINER_URL."api/";
|
||||
const API_SERVICE_NAME = "client";
|
||||
const API_SERVICE_TOKEN = "token";
|
||||
const API_CLIENT_NAME = "client";
|
||||
|
||||
/**
|
||||
* Site URL
|
||||
|
@ -11,8 +11,7 @@ class Offline {
|
||||
* API access and credentials
|
||||
*/
|
||||
const API_URL = "https://devweb.local/comunic/api-v2/";
|
||||
const API_SERVICE_NAME = "ComunicWeb";
|
||||
const API_SERVICE_TOKEN = "12XU67pJUlnNQ";
|
||||
const API_CLIENT_NAME = "ComunicWeb";
|
||||
|
||||
/**
|
||||
* About website access
|
||||
|
@ -85,8 +85,7 @@ function get_javascript_config($config) : string {
|
||||
|
||||
//API configuration
|
||||
apiURL: '".$config::API_URL."',
|
||||
apiServiceName: '".$config::API_SERVICE_NAME."',
|
||||
apiServiceToken: '".$config::API_SERVICE_TOKEN."',
|
||||
apiClientName: '".$config::API_CLIENT_NAME."',
|
||||
|
||||
//About website URL
|
||||
aboutWebsiteURL: '".$config::ABOUT_WEBSITE_URL."',
|
||||
|
Loading…
Reference in New Issue
Block a user