Ignore unreachable code
This commit is contained in:
parent
0bbeaa7246
commit
8fa8c6173e
|
|
@ -9,8 +9,10 @@ if (! function_exists('webpack_assets')) {
|
|||
function webpack_assets($relativeUri)
|
||||
{
|
||||
if (app()->environment('development')) {
|
||||
// @codeCoverageIgnoreStart
|
||||
$host = parse_url(url('/'), PHP_URL_HOST);
|
||||
return "http://$host:8080/$relativeUri"; // @codeCoverageIgnore
|
||||
return "http://$host:8080/$relativeUri";
|
||||
// @codeCoverageIgnoreEnd
|
||||
} else {
|
||||
$path = app('webpack')->$relativeUri;
|
||||
$cdn = option('cdn_address');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user