Skip to content

Commit

Permalink
chore: added a favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
tyboro2002 committed Dec 24, 2024
1 parent 577c7b9 commit fc2593b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file added website/static/favicon.ico
Binary file not shown.
4 changes: 3 additions & 1 deletion website/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Restaurant Scraper</title>
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
<style>
/* General table styling */
table {
Expand Down Expand Up @@ -100,7 +101,7 @@
.then(response => response.json())
.then(data => {
{#alert(data.message); // Show a success message from the backend#}
console.log(data.message)
console.log(data.message);
})
.catch(error => {
alert('Error: ' + error);
Expand Down Expand Up @@ -142,6 +143,7 @@
// Set interval to update scraper table every 5 seconds
setInterval(updateScraperTable, 5000);
setInterval(scrapeAllRestaurants, 30 * 60 * 1000); // 30 minutes in milliseconds
setInterval(syncAll, 30 * 60 * 1000); // 30 minutes in milliseconds
</script>
</head>
<body>
Expand Down

0 comments on commit fc2593b

Please sign in to comment.