diff --git a/.env.example b/.env.example index 2ef7ab2..592713b 100644 --- a/.env.example +++ b/.env.example @@ -4,6 +4,8 @@ APP_KEY= APP_DEBUG=true APP_URL=http://127.0.0.1:8000 +APP_STAGING=false + RGAPI_KEY="RGAPI-00000000-0000-0000-0000-000000000000" LOGIN_ROUTE_NAME="/your/secret/login/route" diff --git a/config/app.php b/config/app.php index 4569f6d..5c85235 100644 --- a/config/app.php +++ b/config/app.php @@ -187,4 +187,17 @@ return [ // 'Example' => App\Facades\Example::class, ])->toArray(), + /* + | Configurations mostly used for SEO and attribution. + | These are used in the
of the page. + | Do not change these to your own URL, as they are used for attribution. + | If you want to change the URL, change the APP_URL in your .env file. + */ + + 'IS_STAGING' => env('APP_STAGING') == 'true', + + 'HEIMER_URL' => env('APP_ENV') == 'local' ? 'http://127.0.0.1:8000' + : (env('IS_STAGING') + ? 'https://staging.heimerdinger.lol' + : 'https://heimerdinger.lol'), ]; diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 0976453..8c4a541 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -18,9 +18,12 @@