mirror of
https://github.com/ethauvin/rife2.git
synced 2025-05-01 19:08:12 -07:00
Minor hello world tweaks
This commit is contained in:
parent
e7bf764255
commit
b3e15a5aea
3 changed files with 3 additions and 3 deletions
|
@ -13,6 +13,6 @@ public class HelloLink extends Site {
|
|||
Route link = get("/link", c-> c.print("<a href='" + c.urlFor(hello) + "'>Hello</a>"));
|
||||
|
||||
public static void main(String[] args) {
|
||||
new Server().port(4242).start(new HelloLink());
|
||||
new Server().start(new HelloLink());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@ public class HelloWorld extends Site {
|
|||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
new Server().port(4242).start(new HelloWorld());
|
||||
new Server().start(new HelloWorld());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -803,7 +803,7 @@ public class RifeConfig {
|
|||
private int port_ = DEFAULT_PORT;
|
||||
private String staticResourceBase_ = DEFAULT_STATIC_RESOURCE_BASE;
|
||||
|
||||
public static final int DEFAULT_PORT = 4567;
|
||||
public static final int DEFAULT_PORT = 8080;
|
||||
public static final String DEFAULT_STATIC_RESOURCE_BASE = null;
|
||||
|
||||
public int getPort() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue