Skip to content

Commit

Permalink
Create .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
ssl committed May 28, 2019
1 parent 0799874 commit 7b1c259
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .htaccess
@@ -0,0 +1,9 @@
Header add Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
Header add Access-Control-Allow-Methods "GET, POST"

Options -Indexes

RewriteEngine On
RewriteCond %{REQUEST_URI} !assets
RewriteRule ^(.*)$ index.php [L]

0 comments on commit 7b1c259

Please sign in to comment.