set appUrl with '/'.