mirror of
https://github.com/devsnaith/lumiere-server.git
synced 2024-11-23 17:13:14 +03:00
Make it simple
This commit is contained in:
parent
248e34791e
commit
ad5757faae
@ -2,15 +2,6 @@
|
|||||||
Simple and lightweight web server for creating basic pages using Java ⭐
|
Simple and lightweight web server for creating basic pages using Java ⭐
|
||||||
|
|
||||||
```java
|
```java
|
||||||
import org.eu.lumiere.Lumiere;
|
|
||||||
import org.eu.lumiere.utils.BasicResponse;
|
|
||||||
|
|
||||||
public class MyServer {
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
Lumiere server = new Lumiere(new BasicResponse("Hello, World", false));
|
Lumiere server = new Lumiere(new BasicResponse("Hello, World", false));
|
||||||
server.bootServer(8080);
|
server.bootServer(8080);
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user