Set the app title with an environment var
This commit is contained in:
3
app.json
3
app.json
@@ -6,7 +6,8 @@
|
||||
"keywords": ["cachet", "laravel", "status", "page"],
|
||||
"addons": ["cleardb"],
|
||||
"env": {
|
||||
"ENV": "heroku"
|
||||
"ENV": "heroku",
|
||||
"APP_NAME": "My Status Page"
|
||||
},
|
||||
"scripts": {
|
||||
"postdeploy": "php artisan migrate"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>{{ Setting::get('site_name') }} | Cachet</title>
|
||||
<title>{{ getenv('APP_NAME') }} | Cachet</title>
|
||||
<!-- Set the viewport width to device width for mobile -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="author" content="http://james-brooks.uk">
|
||||
|
||||
Reference in New Issue
Block a user