Skip to content

Commit

Permalink
Merge pull request #194 from cardanoapi/Hotfix/Cors-error
Browse files Browse the repository at this point in the history
fix: CORS Issue
  • Loading branch information
JosephRana11 authored Sep 19, 2024
2 parents ebd71df + 9098bc8 commit 0336c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/api/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const fetchTemplates = async (params: {

const queryString = convertToQueryStr(page, size, search);

const res = await fetch(`${baseAPIurl}/templates/?${queryString}`);
const res = await fetch(`${baseAPIurl}/templates?${queryString}`);
if (!res.ok) {
throw new Error('Templates Fetch Operation failed: Network Error');
}
Expand Down

0 comments on commit 0336c16

Please sign in to comment.