Commit f8189abc014c29980d85028294811268d0fef8eb

Authored by don ago
1 parent 6f04adacb4
Exists in master

안되는거수정

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

app/SendLog.scala View file @ f8189ab
... ... @@ -23,7 +23,7 @@
23 23 var cur_line = 0
24 24  
25 25  
26   - var url = new java.net.URL("http://localhost:8081/log")
  26 + var url = new java.net.URL("http://localhost:8081/logs")
27 27 var httpcon = url.openConnection.asInstanceOf[java.net.HttpURLConnection]
28 28 httpcon.setRequestMethod("PUT")
29 29 httpcon.setDoOutput(true)
... ... @@ -62,7 +62,7 @@
62 62 out.close()
63 63 httpcon.disconnect()
64 64  
65   - url = new java.net.URL("http://localhost:8081/log")
  65 + url = new java.net.URL("http://localhost:8081/logs")
66 66 httpcon = url.openConnection.asInstanceOf[java.net.HttpURLConnection]
67 67 httpcon.setRequestMethod("PUT")
68 68