- composer updates

- dynamical connection string to solr for the search via .env-file: settings for SOLR_HOST und SOLR_CORE
This commit is contained in:
Arno Kaimbacher 2020-06-02 16:11:07 +02:00
parent 3fd4a66fbf
commit c0e381ba3a
7 changed files with 315 additions and 249 deletions

View file

@ -161,6 +161,12 @@
@endsection
@section('after-scripts')
{{-- <script type="text/javascript" src="{{ asset('js/search/main.js') }}"></script> --}}
<script>
const SOLR = <?php echo json_encode([
'core' => config('solarium.endpoint.repository.core'),
'host' => config('solarium.endpoint.repository.host'),
]); ?>
</script>
<script type="text/javascript" src="{{ asset('js/search/main.js') }}"></script>
@stop