We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8179a5c commit 2e56eddCopy full SHA for 2e56edd
resources/views/livewire/project/shared/terminal.blade.php
@@ -61,6 +61,9 @@ function initializeWebSocket() {
61
port: ":6002",
62
path: '/terminal/ws'
63
}
64
+ if (!window.location.port) {
65
+ connectionString.port = ''
66
+ }
67
if (predefined.host) {
68
connectionString.host = predefined.host
69
@@ -70,9 +73,7 @@ function initializeWebSocket() {
70
73
if (predefined.protocol) {
71
74
connectionString.protocol = predefined.protocol
72
75
- if (!window.location.port) {
- connectionString.port = ''
- }
76
+
77
console.log(connectionString)
78
const url =
79
`${connectionString.protocol}://${connectionString.host}${connectionString.port}${connectionString.path}`
0 commit comments