Ignore:
Timestamp:
02/25/15 14:54:04 (9 years ago)
Author:
emanuel.dima@uni-tuebingen.de
Message:
  1. alpha 24: exporting to weblicht works, UI is not final
File:
1 edited

Legend:

Unmodified
Added
Removed
  • SRUAggregator/trunk/src/main/java/eu/clarin/sru/fcs/aggregator/rest/RestService.java

    r6043 r6057  
    251251                }
    252252
    253                 return url == null ? Response.status(503).entity("error while exporting to weblicht").build()
    254                                 : Response.ok().entity(url).build();
     253                URI weblichtUri = new URI(Aggregator.getInstance().getParams().getWEBLICHT_URL()
     254                                + url);
     255                return url == null
     256                                ? Response.status(503).entity("error while exporting to weblicht").build()
     257                                : Response.seeOther(weblichtUri).entity(weblichtUri).build();
    255258        }
    256259}
Note: See TracChangeset for help on using the changeset viewer.