Frontend: Fix rewrite url