Skip to content

Commit

Permalink
Update with api_root
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhamiltonstubber committed Jun 17, 2020
1 parent a767178 commit 4b56355
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ social:
url: http://github.com/tutorcruncher

socket_url: https://cdn.tutorcruncher.com/socket/latest/socket.js
socket_api_root: https://socket-beta.tutorcruncher.com
1 change: 1 addition & 0 deletions _examples/appointments.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

<script>
socket('{{ site.socket_key }}', {
api_root: '{{ site.socket_api_root }}',
router_mode: 'history',
element: '#book-apts',
mode: 'appointments'
Expand Down
1 change: 1 addition & 0 deletions _includes/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ <h2>Contact Us</h2>
</section>
<script>
socket('{{ site.socket_key }}', {
api_root: '{{ site.socket_api_root }}',
mode: 'enquiry',
element: '#socket-enquiry'
});
Expand Down
1 change: 1 addition & 0 deletions _includes/our-tutors.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ <h3 class="tutor-sign-up">Interested in becoming a tutor?</h3>
</section>
<script>
socket('{{ site.socket_key }}', {
api_root: '{{ site.socket_api_root }}',
router_mode: 'history'
});
</script>

0 comments on commit 4b56355

Please sign in to comment.