mirror of
https://github.com/corda/corda.git
synced 2025-06-11 03:41:41 +00:00
Minor: fix a regression introduced by a bad merge that broke the rate fix demo
This commit is contained in:
parent
9b102f3f17
commit
3c4ce0a8fe
@ -84,7 +84,7 @@ class Node(dir: Path, val p2pAddr: HostAndPort, configuration: NodeConfiguration
|
|||||||
// API, data upload and download to services (attachments, rates oracles etc)
|
// API, data upload and download to services (attachments, rates oracles etc)
|
||||||
handlerCollection.addHandler(ServletContextHandler().apply {
|
handlerCollection.addHandler(ServletContextHandler().apply {
|
||||||
contextPath = "/"
|
contextPath = "/"
|
||||||
setAttribute("storage", storage)
|
setAttribute("node", this@Node)
|
||||||
addServlet(DataUploadServlet::class.java, "/upload/*")
|
addServlet(DataUploadServlet::class.java, "/upload/*")
|
||||||
addServlet(AttachmentDownloadServlet::class.java, "/attachments/*")
|
addServlet(AttachmentDownloadServlet::class.java, "/attachments/*")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user