Skip to content

Commit 4861aa2

Browse files
committed
reinstate 404 redirect
1 parent fec2029 commit 4861aa2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

_includes/our-tutors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ <h3 class="tutor-sign-up">Interested in becoming a tutor?</h3>
4545
<script>
4646
socket('{{ site.socket_key }}', {
4747
router_mode: 'history',
48-
api_root: 'https://dinotutors.com/socket-api'
48+
api_root: '/socket-api'
4949
});
5050
</script>

_redirects

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
# /* / 200
21

32
/enquiry / 200
43
/*/enquiry /:splat 200
54

65
# socket proxy:
76
/socket-api/* https://socket.tutorcruncher.com/:splat 200!
7+
8+
# catch all other 404s and redirect to root
9+
/* / 200

0 commit comments

Comments
 (0)