Import instagram posts as nodes automatically with the instagram importer module for drupal 8 & 9.
A composer update of your drupal can override changes to your htaccess file. With this snippet you can patch it correctly.
scripts section of your composer.json file, add the following:
"post-drupal-scaffold-cmd": [ "patch -p0 < patches/htaccess.patch" ]
(this requires "drupal-composer/drupal-scaffold" in your