sinatra backend url change