Htaccess File

proudcity/proud-drops/7.x-1.x/sites/all/modules/apps/proud_social/modules/proud_social_app/js/proud-social-app/app/.htaccess

REQUEST_FILENAME
Options +FollowSymLinks

DirectoryIndex index.html

<IfModule mod_rewrite.c>
  # http://stackoverflow.com/questions/22739455/htaccess-redirect-for-angular-routes
  RewriteEngine on
  # Don't rewrite files or directories
  RewriteCond %{REQUEST_FILENAME} -f [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^ - [L]

  # Rewrite everything else to index.html to allow html5 state links
  RewriteRule ^ index.html [L]
</IfModule>

Header set Access-Control-Allow-Origin "*"
Exit mobile version