Browse Source

Got Stations page working with new Docker setup

Cameron Kline 8 năm trước cách đây
mục cha
commit
84020669ea
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      frontend/components/pages/Station.vue

+ 1 - 1
frontend/components/pages/Station.vue

@@ -237,7 +237,7 @@
 			local.interval = 0;
 
 			local.socket = this.$parent.socket;
-			local.stationSocket = io.connect(`http://dev.musare.com/${local.$route.params.id}`);
+			local.stationSocket = io.connect(`localhost:8081/${local.$route.params.id}`);
 			local.stationSocket.on("connected", function(data) {
 				local.currentSong = data.currentSong;
 				local.paused = data.paused;