diff --git a/src/components/SelectPrinterDialog.vue b/src/components/SelectPrinterDialog.vue index 6f1b2bae..ce68ee2f 100644 --- a/src/components/SelectPrinterDialog.vue +++ b/src/components/SelectPrinterDialog.vue @@ -186,7 +186,7 @@ export default { }), currentUrl: { get() { - return "http://"+window.location.hostname+(window.location.port !== 80 ? ':'+window.location.port : '') + return "http://"+window.location.hostname+(window.location.port !== 80 && window.location.port !== '' ? ':'+window.location.port : '') } }, showCorsInfo: {