My CSS and JS file work fine on localhost but when up to host it not working. I use laravel 5.4. I tried a lot of ways but still failed. enter image description here
My embedded CSS and JS code enter image description here
UPDATE: Thanks all i have fixed my problems follow this:
1. change http://localhost to https://localhost at APP_URL line in .env file
2. add \URL::forceScheme('https') to AppServiceProvider.php file in boot() function
3. the last is include {{asset('--link_on_href--')}} for each CSS and JS embeded on index.php