aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/views/welcome.blade.php
diff options
context:
space:
mode:
authorMarvin Borner2018-06-30 23:44:50 +0200
committerMarvin Borner2018-06-30 23:44:50 +0200
commitb1c501e2f239ef6dcbf5e55e403834d793c6a0f6 (patch)
tree4532adc1e40f0da7580132b2a82c67c946a478f3 /resources/views/welcome.blade.php
parent70233ba2d306019d415b94e270d3a90672236544 (diff)
Finished websocket integration
Diffstat (limited to 'resources/views/welcome.blade.php')
-rw-r--r--resources/views/welcome.blade.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php
deleted file mode 100644
index 0d11569..0000000
--- a/resources/views/welcome.blade.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<head>
- <title>Pusher Test</title>
- <script src="https://js.pusher.com/4.1/pusher.min.js"></script>
- <script>
-
- // Enable pusher logging - don't include this in production
- Pusher.logToConsole = true;
-
- var pusher = new Pusher('6d5f2075a9c7df361239', {
- cluster: 'eu',
- encrypted: true
- });
-
- var channel = pusher.subscribe('my-channel');
- channel.bind('my-event', function(data) {
- alert(JSON.stringify(data));
- });
- </script>
-</head>
-<body>
- <h1>Pusher Test</h1>
- <p>
- Try publishing an event to channel <code>my-channel</code>
- with event name <code>my-event</code>.
- </p>
-</body>