}
}
-writeJson('api/v1/discover.json', buildDiscover($games));
+writeJson('api/v1/discover-data/discover.json', buildDiscover($games));
writeJson('api/v1/discover-data/home.json', buildDiscoverHome($games));
RewriteRule ^api/v1/apps/(.*)/download$ /api/v1/apps/$1-download.json? [END]
RewriteRule ^api/v1/apps/(.*)$ /api/v1/apps/$1.json? [END]
-RewriteRule ^api/v1/discover/?$ /api/v1/discover.json [END]
+RewriteRule ^api/v1/discover/?$ /api/v1/discover-data/discover.json [END]
RewriteRule ^api/v1/discover/(.+)$ /api/v1/discover-data/$1.json [END]
#this one wants a 204 status code
-RewriteRule ^api/v1/status$ - [R=204,NC,L]
+RewriteRule ^api/v1/status$ - [R=204,L]