Skip to content

Commit da215ef

Browse files
committed
Update default port to match lightning-strike's default
1 parent 4fbece8 commit da215ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

woocommerce-gateway-lightning.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct() {
4242
$this->description = $this->get_option('description');
4343

4444
// Lightning Strike REST client
45-
$this->strike = new LightningStrikeClient($this->get_option('server_url', 'http://localhost:8009'));
45+
$this->strike = new LightningStrikeClient($this->get_option('server_url', 'http://localhost:9112'));
4646

4747
add_action('woocommerce_payment_gateways', array($this, 'register_gateway'));
4848
add_action('woocommerce_update_options_payment_gateways_lightning', array($this, 'process_admin_options'));
@@ -76,7 +76,7 @@ public function init_form_fields() {
7676
'title' => __('Lightning Strike server', 'lightning'),
7777
'type' => 'text',
7878
'description' => __('URL of the Lightning Strike REST server to connect to.', 'lightning'),
79-
'default' => __('http://localhost:8009', 'lightning'),
79+
'default' => __('http://localhost:9112', 'lightning'),
8080
'desc_tip' => true,
8181
),
8282
'description' => array(

0 commit comments

Comments
 (0)