* wrong endpoint fix

This commit is contained in:
maor.rayzin 2018-07-24 14:54:12 +03:00
parent fae87bd07b
commit dd5b606ef8
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ from cc.resources.monkey_configuration import MonkeyConfiguration
from cc.resources.monkey_download import MonkeyDownload
from cc.resources.netmap import NetMap
from cc.resources.pthmap import PthMap
from cc.resources.pthreport import Report
from cc.resources.pthreport import PTHReport
from cc.resources.node import Node
from cc.resources.report import Report
from cc.resources.root import Root
@ -107,6 +107,6 @@ def init_app(mongo_url):
api.add_resource(TelemetryFeed, '/api/telemetry-feed', '/api/telemetry-feed/')
api.add_resource(Log, '/api/log', '/api/log/')
api.add_resource(PthMap, '/api/pthmap', '/api/pthmap/')
api.add_resource(Report, '/api/pthreport', '/api/pthreport/')
api.add_resource(PTHReport, '/api/pthreport', '/api/pthreport/')
return app