mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-20 00:51:41 +00:00
10 lines
228 B
Java
10 lines
228 B
Java
|
|
package Handlers.Web;
|
||
|
|
|
||
|
|
import io.javalin.Javalin;
|
||
|
|
public class Server {
|
||
|
|
public static void main(int port) {
|
||
|
|
Javalin app = Javalin.create().start(port);
|
||
|
|
app.get("/", ctx -> ctx.result("Hello World"));
|
||
|
|
}
|
||
|
|
}
|