add static example to site html test

This commit is contained in:
HorizonCode 2023-05-12 14:00:24 +02:00
parent 452be0cecf
commit c6cb48b4ff
2 changed files with 4 additions and 0 deletions

3
example/static/style.css Normal file
View File

@ -0,0 +1,3 @@
h1 {
color: red;
}

View File

@ -53,6 +53,7 @@ httpServer.get("/site", (_req, rep) => {
<html>
<head>
<title>HTML Test</title>
<link rel="stylesheet" type="text/css" href="/assets/style.css">
</head>
<body>
<h1>Hello World!</h1>