Skip to content

Commit

Permalink
🐛 fix: github pages commits suicide if I import the static files with…
Browse files Browse the repository at this point in the history
… / and not with ./
  • Loading branch information
bytevictor committed Mar 28, 2024
1 parent c0663c1 commit a0d3d7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/Components/TasksApp/TaskList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ function Task({
const playSoundUncheck = () => {
console.log("Playing sound");

const audio = new Audio("/sounds/CompletedTaskInverted.mpeg");
const audio = new Audio("./sounds/CompletedTaskInverted.mpeg");
audio.play();
};

const playSoundDelete = () => {
console.log("Playing sound");

const audio = new Audio("/sounds/delete.mp3");
const audio = new Audio("./sounds/delete.mp3");
audio.play();
};

Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const metadata: Metadata = {
title: "SimpleTask",
description: "A simple, fast and light task manager. Created by bytevictor.",
icons: {
icon: './favicon.png',
icon: './favicon.ico',
},
};

Expand Down

0 comments on commit a0d3d7f

Please sign in to comment.