Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dbpedia-assoc
MARVIN-config
Commits
d96c3f31
Commit
d96c3f31
authored
Jun 22, 2020
by
vehnem
Browse files
add: api servlet, 404 and 500 page
parent
76f77c63
Changes
3
Hide whitespace changes
Inline
Side-by-side
dashboard/src/main/scala/ScalatraBootstrap.scala
View file @
d96c3f31
...
...
@@ -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/*"
)
}
}
dashboard/src/main/webapp/error.html
0 → 100644
View file @
d96c3f31
<div>
<h1>
500 Server Error
</h1>
</div>
\ No newline at end of file
dashboard/src/main/webapp/notFound.html
0 → 100644
View file @
d96c3f31
<div>
<h1>
404 Not Found
</h1>
</div>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment