mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 23:52:31 -05:00
Don't require BS_HOST to be configured
This commit is contained in:
parent
d41f57fd1c
commit
da90024a63
2 changed files with 1 additions and 3 deletions
|
@ -10,8 +10,6 @@ APP_URL=http://localhost
|
||||||
LOG_CHANNEL=stack
|
LOG_CHANNEL=stack
|
||||||
LOG_LEVEL=debug
|
LOG_LEVEL=debug
|
||||||
|
|
||||||
BS_HOST=localhost
|
|
||||||
|
|
||||||
DB_CONNECTION=mysql
|
DB_CONNECTION=mysql
|
||||||
DB_HOST=127.0.0.1
|
DB_HOST=127.0.0.1
|
||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
@if(Config::get('app.debug') && Config::get('app.env') === 'local')
|
@if(Config::get('app.debug') && Config::get('app.env') === 'local')
|
||||||
<script id="__bs_script__">//<![CDATA[
|
<script id="__bs_script__">//<![CDATA[
|
||||||
document.write("<script async src='http://{{ env('BS_HOST', 'localhost') }}:3000/browser-sync/browser-sync-client.js?version={{ Version::get() }}'><\/script>".replace("HOST", location.hostname));
|
document.write("<script async src='http://HOST:3000/browser-sync/browser-sync-client.js?version={{ Version::get() }}'><\/script>".replace("HOST", location.hostname));
|
||||||
//]]></script>
|
//]]></script>
|
||||||
@endif
|
@endif
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in a new issue