mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 12:10:34 +09:00
Changed .env to production and cache config and route
This commit is contained in:
6
.env
6
.env
@@ -1,7 +1,7 @@
|
||||
APP_NAME=IFAI
|
||||
APP_ENV=local
|
||||
APP_NAME=Heimdall
|
||||
APP_ENV=production
|
||||
APP_KEY=base64:I206O8ibx+GQyRE7BeOxDobn04Mfmyyc5Ptzns/C0mY=
|
||||
APP_DEBUG=true
|
||||
APP_DEBUG=false
|
||||
APP_LOG_LEVEL=debug
|
||||
APP_URL=http://localhost
|
||||
|
||||
|
||||
@@ -19,6 +19,9 @@ class AppServiceProvider extends ServiceProvider
|
||||
touch(database_path(env('DB_DATABASE')));
|
||||
Artisan::call('migrate', array('--path' => 'database/migrations', '--force' => true));
|
||||
Artisan::call('storage:link');
|
||||
//Cache
|
||||
Artisan::call('config:cache');
|
||||
Artisan::call('route:cache');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user