diff --git a/src/main/kotlin/com/gmail/marcosav2010/MFPSkillServlet.kt b/src/main/kotlin/com/gmail/marcosav2010/MFPSkillServlet.kt index 0e8668e..6b4fc54 100644 --- a/src/main/kotlin/com/gmail/marcosav2010/MFPSkillServlet.kt +++ b/src/main/kotlin/com/gmail/marcosav2010/MFPSkillServlet.kt @@ -11,8 +11,9 @@ import com.gmail.marcosav2010.infrastructure.api.adapter.MFPApi import com.gmail.marcosav2010.infrastructure.api.connector.MFPConnector import retrofit2.Retrofit import retrofit2.create +import javax.servlet.annotation.WebServlet - +@WebServlet("/main") class MFPSkillServlet : SkillServlet(getSkill()) { companion object { diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 1f1bc55..2a229cf 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -5,14 +5,4 @@ myfitnesspal-alexa-skill - - myfitnesspal-alexa-skill - com.gmail.marcosav2010.MFPSkillServlet - 1 - - - myfitnesspal-alexa-skill - /main - - \ No newline at end of file