package org.ligi.passandroid.backend;

import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class OpenOrInstallServlet extends HttpServlet {

    public void doGet(HttpServletRequest request, HttpServletResponse response) throws IllegalStateException, IOException {
        response.sendRedirect("market://details?id=org.ligi.passandroid&refferer=" + request.getParameter("url"));
    }

}
