add static example to site html test
This commit is contained in:
parent
452be0cecf
commit
c6cb48b4ff
3
example/static/style.css
Normal file
3
example/static/style.css
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
h1 {
|
||||||
|
color: red;
|
||||||
|
}
|
|
@ -53,6 +53,7 @@ httpServer.get("/site", (_req, rep) => {
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>HTML Test</title>
|
<title>HTML Test</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/assets/style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello World!</h1>
|
<h1>Hello World!</h1>
|
||||||
|
|
Reference in New Issue
Block a user