From 9c407fb79896635f1db454d49487744ca2ea8524 Mon Sep 17 00:00:00 2001 From: Mateusz Date: Tue, 1 Jun 2021 10:44:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Added=20a=20Codingpirates=20Guid?= =?UTF-8?q?es=20url=20to=20config,=20and=20output=20it=20in=20Env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 1 + app/Context/App/AppContext.php | 1 + config/services.php | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/.env.example b/.env.example index 3f8a233..37366ff 100644 --- a/.env.example +++ b/.env.example @@ -64,5 +64,6 @@ BUGSNAG_NOTIFY_RELEASE_STAGES=production INSTAGRAM_LINK=https://www.instagram.com/piratskibet DISCORD_LINK=https://codingpirates.dk/discord +GUIDES_LINK=https://guides.codingpirates.dk TENOR_API_KEY= diff --git a/app/Context/App/AppContext.php b/app/Context/App/AppContext.php index 8b2e649..ce66268 100644 --- a/app/Context/App/AppContext.php +++ b/app/Context/App/AppContext.php @@ -65,6 +65,7 @@ public function load() 'discord' => [ 'url' => config('services.discord.url'), ], + 'codingpirates' => config('services.codingpirates'), ] ]; }); diff --git a/config/services.php b/config/services.php index 315e72f..30359ea 100644 --- a/config/services.php +++ b/config/services.php @@ -75,4 +75,8 @@ 'url' => env('DISCORD_LINK', null), ], + 'codingpirates' => [ + 'guides_url' => env('GUIDES_LINK', null), + ], + ];