forked from Archives/Athou_commafeed
no need to send a redirect after importing an opml file anymore
This commit is contained in:
@@ -59,8 +59,6 @@ export const client = {
|
||||
headers: {
|
||||
"Content-Type": "multipart/form-data",
|
||||
},
|
||||
// TODO remove redirect from backend method then remove this
|
||||
validateStatus: () => true,
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user