mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-03 01:29:33 +00:00
remove trailing slash of server url in device mapping QRCode
This commit is contained in:
1 parent
650f888927
commit
c190e8023e
1 file changed
+1
-1
+1
-1
@@ -52,7 +52,7 @@ public class DeviceMappingQRIdentifierWidget extends BaseQRIdentifierWidget {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String generateEncodedQRCodeContent() {
|
protected String generateEncodedQRCodeContent() {
|
||||||
String serverUrl = serverBox.getValue();
|
String serverUrl = getServerUrlWithoutFinalSlash();
|
||||||
if (serverUrl.isEmpty()) {
|
if (serverUrl.isEmpty()) {
|
||||||
setError("Server URL empty");
|
setError("Server URL empty");
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in new issue
Block a user