| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
namespace FL\Assistant\Providers; |
| 5 |
|
| 6 |
use FL\Assistant\System\Contracts\ServiceProviderAbstract; |
| 7 |
|
| 8 |
class CloudServiceProvider extends ServiceProviderAbstract { |
| 9 |
|
| 10 |
public function bootstrap() { |
| 11 |
$dev = defined( 'WP_DEBUG' ) && WP_DEBUG ? '-dev' : ''; |
| 12 |
|
| 13 |
// allow this to be overridden in wp-config.php for development |
| 14 |
if ( ! defined( 'FL_ASSISTANT_CLOUD_URL' ) ) { |
| 15 |
define( 'FL_ASSISTANT_CLOUD_URL', "https://dev-web-nyc3.wpassistant.cloud/api" ); |
| 16 |
} |
| 17 |
if ( ! defined( 'FL_ASSISTANT_WP_API_URL' ) ) { |
| 18 |
define( 'FL_ASSISTANT_WP_API_URL', "https://asst-wp$dev.network.fastlinemedia.com/wp-json" ); |
| 19 |
} |
| 20 |
} |
| 21 |
} |
| 22 |
|