Fetching data from local JSON file using axios and displaying data

This is a local JSON file I wrote. { “data”:[ { “photo”: “https://source.unsplash.com/aZjw7xI3QAA/1144×763”, “caption”: “Viñales, Pinar del Río, Cuba”, “subcaption”: “Photo by Simon Matzinger on Unsplash”, “thumbnail”: “https://source.unsplash.com/aZjw7xI3QAA/100×67”, }, { “photo”: “https://source.unsplash.com/c77MgFOt7e0/1144×763”, “caption”: “La Habana, Cuba”, “subcaption”: “Photo by Gerardo Sanchez on Unsplash”, “thumbnail”: “https://source.unsplash.com/c77MgFOt7e0/100×67”, }, { “photo”: “https://source.unsplash.com/QdBHnkBdu4g/1144×763”, “caption”: “Woman smoking a tobacco”, “subcaption”:…

Details

MacOS app with user-selected file read-write entitlement rejected from Mac App Store because SQLite creates a temp file when writing to database

I have a MacOS app that I want to put on the Mac App Store so it must be sandboxed. With the app the user creates multiple SQLite database files storing information they create, somewhat analogous to Excel Spreadsheet files. They store these files in the Documents folder on their mac. I added an entitlement…

Details

Is there a way to avoid content duplication on multi site setup?

I have just crated a multi site according to the instructions on Crafts page. Lets just say I have: siteone.com with template forlder templates/siteone sitetwo.com with template forlder templates/sittwo It all works fine however all pages from templates/siteone can also be accessed on sitetwo by simply going to sitetwo.com/siteone/site-one-only-page Is there a way to prevent…

Details