Skip to content

Commit

Permalink
Use https://cdn.jsdelivr.net to deliver renderjson.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Aug 5, 2021
1 parent e7df7c6 commit 6e923b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 217 deletions.
2 changes: 1 addition & 1 deletion ocdskingfishercolab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def render_json(json_string):
json_string = json.dumps(json_string)
return HTML(f"""
<script
src="https://raw.githubusercontent.com/open-contracting/kingfisher-colab/main/script/renderjson.js">
src="https://cdn.jsdelivr.net/gh/caldwell/renderjson@master/renderjson.js">
</script>
<script>
renderjson.set_show_to_level(1)
Expand Down
216 changes: 0 additions & 216 deletions script/renderjson.js

This file was deleted.

0 comments on commit 6e923b2

Please sign in to comment.