notshi / d-preview

Generate a private d-preview site with IATI xml.
http://d-preview.codeforiati.org
1 stars 0 forks source link

The savi link in d-preview loads the activity from live #27

Open stevieflow opened 2 years ago

stevieflow commented 2 years ago

If you click on the iati-identifier link in d-portal you get to a savi page - http://d-portal.org/savi/?aid=[activity identifier]

However if you do this in a d-preview - http://[hash].d-preview.codeforiati.org/savi/?aid=[activity identifier] - this actually seems to load the activity data from live d-portal (if that exists)

This gets confusing! Maybe best solution is to disable the link on the iati-identifier, in d-preview?

notshi commented 1 year ago

Raised here - https://github.com/devinit/D-Portal/issues/648