Add support for dynamic usernames.
[stouyapi.git] / www / .htaccess
index 2c5ece0d51c92e38fb5366b3a522d36f2733dab7..541105ec88e8072956ee6da91d682fd844a13ae7 100644 (file)
@@ -35,6 +35,11 @@ RewriteRule ^api/v1/gamers$ /api/v1/gamers/register-error.json [R=400,END]
 <Files "me">
     DirectorySlash Off
 </Files>
+
+#Disable the next two lines to have static usernames only
+RewriteRule ^api/v1/gamers/me$ /api/v1/gamers/me.php [END]
+RewriteRule ^api/v1/sessions$ /api/v1/sessions.php [END]
+
 RewriteRule ^api/v1/gamers/me$ /api/v1/gamers/me.json [END]
 
 #purchased games/products