Commit d96c3f31 authored by vehnem's avatar vehnem
Browse files

add: api servlet, 404 and 500 page

parent 76f77c63
......@@ -4,6 +4,7 @@ import javax.servlet.ServletContext
class ScalatraBootstrap extends LifeCycle {
override def init(context: ServletContext) {
context.mount(new ReleaseDashboardServlet, "/*")
context.mount(new StaticHtmlServlet, "/*")
context.mount(new DataApiServlet, "/api/*")
}
}
<div>
<h1>500 Server Error</h1>
</div>
\ No newline at end of file
<div>
<h1>404 Not Found</h1>
</div>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment