Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
feat: add APP_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
eNzyOfficial authored and RomainLanz committed Jun 27, 2018
1 parent 05ac46c commit 23f5949
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .env.example
@@ -1,6 +1,10 @@
HOST=127.0.0.1
PORT=3333
NODE_ENV=development

CACHE_VIEWS=false

APP_NAME=AdonisJs
APP_URL=http://${HOST}:${PORT}

CACHE_VIEWS=false
Expand Down
14 changes: 14 additions & 0 deletions config/app.js
Expand Up @@ -3,6 +3,20 @@
const Env = use('Env')

module.exports = {

/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application and can used when you
| need to place the application's name in a email, view or
| other location.
|
*/

name: Env.get('APP_NAME', 'AdonisJs'),

/*
|--------------------------------------------------------------------------
| App Key
Expand Down

0 comments on commit 23f5949

Please sign in to comment.