Change riot pattern to match on client and server