Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion _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 }}', {
router_mode: 'history'
router_mode: 'history',
api_root: '/socket-api'
});
</script>
9 changes: 7 additions & 2 deletions _redirects
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* / 200

/enquiry / 200
/*/enquiry /:splat 200
/*/enquiry /:splat 200

# socket proxy:
/socket-api/* https://socket.tutorcruncher.com/:splat 200!

# catch all other 404s and redirect to root
/* / 200