change baseurl for preview