docs.jonasjones.dev/docs/mcwebserver/examplefiles.mdx

45 lines
No EOL
678 B
Text

---
sidebar_position: 5
---
# Example Files
## index.html
```html title="index.html"
<html>
<head>
<title>My Server</title>
</head>
<body>
<h1>Welcome to my server</h1>
</body>
</html>
```
## 404.html
```html title="404.html"
<html>
<head>
<title>404 Not Found</title>
</head>
<body>
<h1>404 Not Found</h1>
</body>
</html>
```
## not_supported.html
```html title="not_supported.html"
<html>
<head>
<title>Not Supported</title>
</head>
<body>
<h1>Not Supported</h1>
</body>
</html>
```
## favicon.ico/.png
Add a website icon named `favicon` to the root webserver directory.