mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 19:26:38 -05:00
10 lines
343 B
PHP
10 lines
343 B
PHP
|
<script type="text/javascript">
|
||
|
var env = {
|
||
|
appName: "{{ env('APP_NAME') }}",
|
||
|
appDesc: "{{ env('APP_DESC') }}",
|
||
|
apiToken: "{{ Auth::check() ? '?api_token=' . Auth::user()->api_token : '' }}",
|
||
|
csrfToken: "{{ csrf_token() }}",
|
||
|
debug: {{ Config::get('app.debug') ? 'true' : 'false' }}
|
||
|
};
|
||
|
</script>
|