Skip to content

Commit

Permalink
vercel config fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
olgazh565 committed Oct 23, 2023
1 parent 678bcf5 commit 36210d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/likeSvg/likeSvg.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ let like = null;

export const likeSvg = async () => {
if (!like) {
const response = await fetch('./img/like.svg');
const response = await fetch('/img/like.svg');
const svg = await response.text();

like = new DOMParser()
Expand Down
2 changes: 1 addition & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"routes": [
{
"src": "/(.*).(js|css)",
"src": "/(.*).(woff2|svg|js|css)",
"dest": "/$1.$2"
},
{
Expand Down

0 comments on commit 36210d6

Please sign in to comment.