Fixed server side bug logo issue
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>TLT Location Finder</title>
|
||||
<link rel="icon" type="image/x-icon" href="./velendeulogo.png">
|
||||
<link rel="icon" type="image/x-icon" href="/velendeulogo.png">
|
||||
<style>
|
||||
#map {
|
||||
height: 1000px;
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
<body>
|
||||
<picture>
|
||||
<img src="./velendeulogo.png" alt="velendeulogo" style="width:auto";>
|
||||
<img src="/velendeulogo.png" alt="velendeulogo" style="width:auto";>
|
||||
</picture>
|
||||
<h2>TLT Location Finder</h2>
|
||||
<form id="search-form">
|
||||
|
3
main.js
3
main.js
@ -27,6 +27,9 @@ app.get('/', (req, res) => {
|
||||
//index.html
|
||||
res.sendFile(__dirname + '/client/index.html');
|
||||
});
|
||||
app.get('/velendeulogo.png', (req, res) => {
|
||||
res.sendFile(__dirname + '/client/velendeulogo.png');
|
||||
});
|
||||
|
||||
server.listen(serverPort, () => {
|
||||
console.log("Apache server initalized...");
|
||||
|
Reference in New Issue
Block a user