Browse Source

fixed localhost error

whiplash 9 years ago
parent
commit
c637d8d8d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Scala/finch/src/main/scala/WebServer.scala

+ 1 - 1
frameworks/Scala/finch/src/main/scala/WebServer.scala

@@ -33,6 +33,6 @@ object WebServer extends App {
   val api: Service[Request, Response] = (json :+: plaintext).toService
 
   Await.ready(
-    Httpx.serve("localhost:9000", api)
+    Httpx.serve(":9000", api)
   )
 }