and you can set your APP_URL in .env file and livewire.php file inside config/livewire.php asset_url to 'asset_url' => ' http://shop.mysubdomain.com ', 2. run: php artisan livewire:publish then open config/livewire.php change 'asset_url' => null to 'asset_url' => 'http://localhost' 3. Open the config/livewire.php edit the line 'asset_url' => null , to read 'asset_url' => 'http://localhost/your_project/public/', 'asset_url' => https://www.yourporject.com/public ,
1. Normally use php artisan storage:link if use have ssh access if php artisan doesnot work then manully ln -s /home/u301157799/domains/opsmaihar.in/public_html/storage/app/public/posts /home/u301157799/domains/opsmaihar.in/public_html/public/storage 2 . Create a file in your public_html file with a name (eg symlink.php) with the code below < ?php $linkName = '/home/username/public_html/innovativetechsolution.in/innovation/public/storage'; $target = '/home/username/public_html/mydomain.com/storage/app/public/myfolder1'; symlink($target, $linkName); ?> 3. Simplest one is Route::get( '/symlink' , function () { Artisan::call( 'storage:link' ); }); Clearing CAhches on Shared Route::get('/clear-cache', function() { Artisan::call('cache:clear'); return '<h1>Cache facade value cleared</h1>'; }); //Reoptimized class loader: Route::get('/optimize', function() { Artisan::call('opt...
Comments
Post a Comment