Skip to content

Commit

Permalink
Add Portfolio to the path of fetch action
Browse files Browse the repository at this point in the history
  • Loading branch information
M-AminAlizadeh committed Feb 2, 2024
1 parent e00a729 commit e0b5fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/dropDown.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const togglers = [languagesToggler, frameworksToggler, skillsToggler];
const containers = [languagesContainer, frameworksContainer, skillsContainer];

const data = async () => {
const res = await fetch('/data.json');
const res = await fetch('/Portfolio/data.json');
const json = await res.json();
return json;
};
Expand Down

0 comments on commit e0b5fe5

Please sign in to comment.