Commit e43aca0c by Tuukka Kivilahti

there, I fixed it

1 parent 9914e624
package fi.codecrew.moya.servlet;
import javax.ejb.EJB;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import fi.codecrew.moya.beans.EventBeanLocal;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......@@ -21,9 +23,7 @@ public class SwaggerJaxrsConfig extends HttpServlet {
private static final long serialVersionUID = 35868122371671912L;
private static final Logger log = LoggerFactory.getLogger(SwaggerJaxrsConfig.class);
// TODO: Make API url configurable or invent something smart to overcome
// the need of base url.
private static final String BASE_URL = "http://localhost:8080/MoyaWeb";
private static final String BASE_URL = "/MoyaWeb";
private static final String API_RESOURCE_PACKAGE = "fi.codecrew.moya.rest";
@Override
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!