Skip to content

Commit f7f7a6e

Browse files
committed
Drop specific version requirement
Should work w/ the latest.
1 parent 16f2cd3 commit f7f7a6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/httpd-helloworld/main.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/swift sh
22

3-
import Macro // @Macro-swift ~> 0.5.4
3+
import Macro // @Macro-swift
44

55
http.createServer { req, res in
66
// log request
@@ -21,6 +21,6 @@ http.createServer { req, res in
2121
// finish up
2222
res.end()
2323
}
24-
.listen(1337, "0.0.0.0") { server in
25-
console.log("Server listening on http://0.0.0.0:1337/")
24+
.listen(1337) { server in
25+
console.log("Server listening on http://*:1337/")
2626
}

0 commit comments

Comments
 (0)