moving platform location to constants.php in /api for consistency