opsway/shopify-boxit-app/master/.htaccess
RewriteEngine On RewriteRule ^$ /frontend/web [L] RewriteRule ^admin$ /backend/web [L] RewriteRule ^frontend/web/(.*?)/$ /frontend/web/index.php?r=$1 [NC,L] Header add Access-Control-Allow-Origin "*" Header add Access-Control-Allow-Methods: "GET,POST,OPTIONS,DELETE,PUT"
Files
![GET, POST, PUT](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/opsway/shopify-boxit-app-htaccess.png)