put preview url in config