Skip to content

Commit

Permalink
fix: servlet path
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosav committed Apr 9, 2024
1 parent 91170c7 commit dc719d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
3 changes: 2 additions & 1 deletion src/main/kotlin/com/gmail/marcosav2010/MFPSkillServlet.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 0 additions & 10 deletions src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,4 @@

<display-name>myfitnesspal-alexa-skill</display-name>

<servlet>
<servlet-name>myfitnesspal-alexa-skill</servlet-name>
<servlet-class>com.gmail.marcosav2010.MFPSkillServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>myfitnesspal-alexa-skill</servlet-name>
<url-pattern>/main</url-pattern>
</servlet-mapping>

</web-app>

0 comments on commit dc719d0

Please sign in to comment.