Update Observer.php

remove slash at the end of url