Skip to content

Commit 1535944

Browse files
author
Rajeev Kumar Singh
committed
Using CDN libraries
1 parent 2498f2c commit 1535944

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

src/main/resources/static/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ <h2>Spring WebSocket Chat Demo</h2>
4646
</div>
4747
</div>
4848

49-
<script src="/js/sockjs.min.js"></script>
50-
<script src="/js/stomp.min.js"></script>
49+
<script src="https://cdnjs.cloudflare.com/ajax/libs/sockjs-client/1.1.4/sockjs.min.js"></script>
50+
<script src="https://cdnjs.cloudflare.com/ajax/libs/stomp.js/2.3.3/stomp.min.js"></script>
5151
<script src="/js/main.js"></script>
5252
</body>
5353
</html>

0 commit comments

Comments
 (0)