Skip to content

Commit

Permalink
feat: app locale and cache config in env
Browse files Browse the repository at this point in the history
  • Loading branch information
Crypta-Eve committed May 20, 2024
1 parent f6758bc commit cfdfa72
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ APP_ENV=local
APP_KEY=
APP_DEBUG=false
APP_URL=http://localhost
APP_LOCALE=en

LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
Expand Down Expand Up @@ -59,3 +60,8 @@ MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
EVE_CLIENT_ID=null
EVE_CLIENT_SECRET=null
EVE_CALLBACK_URL=https://seat.local/auth/eve/callback

ESEYE_CACHE_DRIVER=file
ESEYE_CACHE_STORAGE_PATH=eseye
ESEYE_CACHE_CONNECTION=cache
ESEYE_CACHE_LOCK_CONNECTION=default
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
/packages
/public/hot
/public/storage
/public/vendor/horizon
/public/vendor/log-viewer
/storage/*.key
/storage/database.sqlite
/vendor
Expand Down
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
|
*/

'fallback_locale' => 'en',
'fallback_locale' => env('APP_LOCALE', 'en'),

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit cfdfa72

Please sign in to comment.