diff --git a/config/php.env.dist b/config/php.env.dist index 0f8806a..94fd742 100644 --- a/config/php.env.dist +++ b/config/php.env.dist @@ -2,7 +2,7 @@ APP_NAME=spotisights APP_ENV=local APP_KEY=base64:N/2tPIH4LosPts/ulPSHwPkvrMKa5Ux5nZ83eT2JeBY= APP_DEBUG=true -APP_URL=https://127.0.0.1:8080 +APP_URL=http://127.0.0.1:8080 LOG_CHANNEL=stack LOG_DEPRECATIONS_CHANNEL=null @@ -43,6 +43,7 @@ SPOTIFY_CRAWL_BULK_LIMIT=50 SPOTIFY_CACHE_TTL=2592000 # Grafana redirect (leave empty for no recirect after login) +GRAFANA_URL=http://127.0.0.1:3000 GRAFANA_DASHBOARD_URL=http://127.0.0.1:3000/d/spotisights/current-user # Services diff --git a/php/src/config/spotisights.php b/php/src/config/spotisights.php index be2e7ab..2268a36 100644 --- a/php/src/config/spotisights.php +++ b/php/src/config/spotisights.php @@ -20,6 +20,9 @@ 'active' => explode(',', env('ACTIVE_SERVICES', '')), ], - 'grafana_dashboard_url' => env('GRAFANA_DASHBOARD_URL') + 'grafana' => [ + 'url' => env('GRAFANA_URL'), + 'dashboard_url' => env('GRAFANA_DASHBOARD_URL') + ] ]; diff --git a/php/src/resources/views/connect.blade.php b/php/src/resources/views/connect.blade.php index 7c76a74..b01f644 100644 --- a/php/src/resources/views/connect.blade.php +++ b/php/src/resources/views/connect.blade.php @@ -58,7 +58,7 @@