Last active
April 10, 2019 07:59
-
-
Save samdods/2b73c1011ca6a53c3f0b109909276fd5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get("/home") { | |
return "π " | |
} | |
get("/people") { | |
return """ | |
<html><head><style> | |
h1 { font-size:4cm; text-align: center } | |
</style></head> | |
<body><h1>π«π«π«π«π«</h1></body> | |
</html> | |
""" | |
} | |
Frank.start(port: 4567) // pass in the port number | |
// Frank.start() // use default port number (method argument's default value, e.g. 8080) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment