fix: support for printer farm in https mode (#452)
This commit is contained in:
1 parent
04ead521b0
commit
8110b2f7b7
1 file changed
+1
-1
@@ -13,7 +13,7 @@ export const getDefaultState = (): FarmPrinterState => {
|
||||
hostname: '',
|
||||
port: 7125,
|
||||
webPort: 80,
|
||||
protocol: 'ws',
|
||||
protocol: document.location.protocol === 'https:' ? 'wss' : 'ws',
|
||||
isConnected: false,
|
||||
isConnecting: false,
|
||||
reconnects: 0,
|
||||
|
||||
Reference in new issue
Block a user