Fix notice error when App.baseUrl is undefined.