mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 15:42:31 -05:00
Only use BrowserSync when both the APP_ENV=local and APP_DEBUG=true
This commit is contained in:
parent
1c90c0b214
commit
f1ce1e0a8a
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
@if(Config::get('app.debug'))
|
||||
@if(Config::get('app.debug') && Config::get('app.env') === 'local')
|
||||
<script id="__bs_script__">//<![CDATA[
|
||||
document.write("<script async src='http://{{ env('BS_HOST', 'localhost') }}:3000/browser-sync/browser-sync-client.js?version={{ env('CACHE_BUST') }}'><\/script>".replace("HOST", location.hostname));
|
||||
//]]></script>
|
||||
|
|
Loading…
Reference in a new issue