Skip to content

Commit

Permalink
Debugging via a request var
Browse files Browse the repository at this point in the history
  • Loading branch information
shramee committed Apr 21, 2018
1 parent 7582cd7 commit bde2f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storefront-pro-skins.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function setup() {

self::$app_url = 'https://storefront-pro-skins.firebaseapp.com/';

if ( defined( 'SFPS_DEBUG' ) && SFPS_DEBUG ) {
if ( isset( $_REQUEST['SFPS_DEBUG'] ) || ( defined( 'SFPS_DEBUG' ) && SFPS_DEBUG ) ) {
self::$app_url = 'http://localhost:4200/';
}

Expand Down

0 comments on commit bde2f3d

Please sign in to comment.