fixed backend endpoint to be string in build script