Skip to content

Commit

Permalink
Changes for the indexed fields table.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus0824 committed Jun 1, 2015
1 parent ac35f70 commit affc52f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/_static/myvariant_doc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
jQuery(document).ready(function() {
if( jQuery(' .indexed-field-table ').length ) {
jQuery.ajax({
url: "http://myvariant.info/indexed_fields",
url: "http://myvariant.info/v1/indexed_fields",
dataType: "JSONP",
jsonpCallback: "callback",
type: "GET",
Expand Down
3 changes: 1 addition & 2 deletions src/www/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ def get(self):
(r"/metadata", MetaDataHandler),
(r"/v1/metadata", MetaDataHandler),
(r"/status", StatusCheckHandler),
(r"/context/(.*)", tornado.web.StaticFileHandler, {"path": "context"}),
(r"/indexed_fields", IndexedFieldsHandler),
(r"/v1/indexed_fields", IndexedFieldsHandler),
]

APP_LIST += add_apps('api', api_app_list)
Expand Down

0 comments on commit affc52f

Please sign in to comment.