update style

This commit is contained in:
Sem van der Hoeven
2023-05-29 12:29:18 +02:00
parent 4b18669bb3
commit 78421ccf6f
3 changed files with 13 additions and 1 deletions

View File

@@ -2,6 +2,8 @@ var express = require("express");
var app = express();
const WebSocket = require("ws");
app.use(express.static('public'))
var ws = new WebSocket("ws://10.100.0.40:9001/");
var api_connected = false;

View File

@@ -0,0 +1,8 @@
body {
background-color: azure;
}
.header {
color: black;
text-align: center;
}

View File

@@ -3,11 +3,13 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel='stylesheet' href='/css/stylesheet.css' />
<title>5G drone API</title>
<p><%- api_connected %></p>
</head>
<body>
<h1 class="header">5G Drone API</h1>
<p><%- api_connected %></p>
<div>Hello World!</div>
</body>
</html>