diff --git a/.htaccess b/.htaccess index 6bedf899f9..bea8fe2d1d 100644 --- a/.htaccess +++ b/.htaccess @@ -91,6 +91,7 @@ RewriteCond %{HTTP_HOST} ^www\.play\.pokemonshowdown\.com$ [NC] RewriteRule ^(.*) https://play.pokemonshowdown.com/$1 [R=301,L] RewriteRule ^style/fonts?/.*?\.(eot|svg|ttf|woff|woff2)$ - [E=SAFE_RESOURCE:1] +RewriteRule ^data/(moves|abilities|learnsets).json$ - [E=SAFE_RESOURCE:1] Header set Access-Control-Allow-Origin * env=SAFE_RESOURCE # Redirect old battles to their corresponding replay