mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-23 10:00:23 -05:00
9 lines
343 B
PHP
9 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>
|