use config instead of env()

This commit is contained in:
peaklabs-dev committed 2024-11-12 15:53:05 +01:00
1 parent 97f868a285
commit 1ffa88acf0
9 files changed
+37 -31

No files matched your search

@@ -26,9 +26,9 @@
<script>
// expose terminal config to the terminal.js file
window.terminalConfig = {
protocol: "{{ env('TERMINAL_PROTOCOL') }}",
host: "{{ env('TERMINAL_HOST') }}",
port: "{{ env('TERMINAL_PORT') }}"
protocol: "{{ config('constants.terminal.protocol') }}",
host: "{{ config('constants.terminal.host') }}",
port: "{{ config('constants.terminal.port') }}"
}
</script>
@endscript