Procházet zdrojové kódy

Allow using only hostname with ?superdevmode

Change-Id: Ib88062d13fc3a22970b526a7fc56a22ba860637f
tags/7.6.0.alpha3^2
Artur Signell před 8 roky
rodič
revize
ef79e1aa98
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 5
    1
      client/src/com/vaadin/client/SuperDevMode.java

+ 5
- 1
client/src/com/vaadin/client/SuperDevMode.java Zobrazit soubor

@@ -189,7 +189,11 @@ public class SuperDevMode {
if (serverUrl == null || "".equals(serverUrl)) {
serverUrl = "http://localhost:9876/";
} else {
serverUrl = "http://" + serverUrl + "/";
if (serverUrl.contains(":")) {
serverUrl = "http://" + serverUrl + "/";
} else {
serverUrl = "http://" + serverUrl + ":9876/";
}
}

if (hasSession(SKIP_RECOMPILE)) {

Načítá se…
Zrušit
Uložit