no need to send a redirect after importing an opml file anymore

This commit is contained in:
Athou
2022-08-13 17:45:19 +02:00
parent 33b87312f4
commit 198d9fb17e
2 changed files with 1 additions and 3 deletions

View File

@@ -59,8 +59,6 @@ export const client = {
headers: {
"Content-Type": "multipart/form-data",
},
// TODO remove redirect from backend method then remove this
validateStatus: () => true,
})
},
},

View File

@@ -538,7 +538,7 @@ public class FeedREST {
log.error(e.getMessage(), e);
throw new WebApplicationException(Response.status(Status.INTERNAL_SERVER_ERROR).entity(e.getMessage()).build());
}
return Response.seeOther(URI.create(config.getApplicationSettings().getPublicUrl())).build();
return Response.ok().build();
}
@GET