You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the path is the URL of the data.json file in the main repository. People who build on their local and try to add their cards, cannot see their cards until their PR is finally merged. To correct this, we have to include the relative path of the data.json file.
Hey @arc9693 , Using getJson to fetch data from local files would throwback an issue of CORS (cross origin request). Therefore, only https requests are possible. We could solve this issue by running the page on a localhost, by running a xampp or a lamp server
Currently, the path is the URL of the data.json file in the main repository. People who build on their local and try to add their cards, cannot see their cards until their PR is finally merged. To correct this, we have to include the relative path of the data.json file.
Hack-Day/assets/js/profileAdd.js
Line 1 in e296f26
A similar change is required in the following file:
Hack-Day/assets/js/repoAdd.js
Line 2 in e296f26
The text was updated successfully, but these errors were encountered: