Update frontend.php

Removed small bug with the flag url