Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.8] Read an optional mix asset url from MIX_ASSET_URL env variable #28952

Merged
merged 4 commits into from
Jun 26, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
MIX_ASSET_URL env variable
  • Loading branch information
themsaid committed Jun 25, 2019
commit 3c4ca9c5d7eecd0352162f4055d451dba74e2e55
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Mix.php
Original file line number Diff line number Diff line change
@@ -63,6 +63,6 @@ public function __invoke($path, $manifestDirectory = '')
}
}

return new HtmlString($manifestDirectory.$manifest[$path]);
return new HtmlString(env('MIX_ASSET_URL').$manifestDirectory.$manifest[$path]);
}
}