Fix endpoints, endpoints were absolute but should be relative