Fixed main logo on website but favicon still does not work

This commit is contained in:
eetnaviation
2024-03-28 18:35:27 +02:00
parent a90c9c21dd
commit f32edd4e3a
4 changed files with 5 additions and 2 deletions

BIN
client/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

View File

@ -5,7 +5,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TLT Location Finder</title> <title>TLT Location Finder</title>
<link rel="icon" type="image/x-icon" href="velendeulogo.png"> <link rel="icon" type="image/x-icon" href="/favicon.ico">
<style> <style>
#map { #map {
height: 1000px; height: 1000px;
@ -16,7 +16,7 @@
<body> <body>
<picture> <picture>
<img src="velendeulogo.png" alt="velendeulogo" style="width:auto";> <img src="/velendeulogo.jpg" alt="velendeulogojpg" style="width:auto";>
</picture> </picture>
<h2>TLT Location Finder</h2> <h2>TLT Location Finder</h2>
<form id="search-form"> <form id="search-form">

BIN
client/velendeulogo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -22,6 +22,9 @@ let vehicleType = "Unfetched";
let requestedLatLong = "Unfetched"; let requestedLatLong = "Unfetched";
console.log("Server initalize!"); console.log("Server initalize!");
app.use(express.static('client'))
app.get('/', (req, res) => { app.get('/', (req, res) => {
console.log("Requested / (index.html). Fetching!"); console.log("Requested / (index.html). Fetching!");
//index.html //index.html