<template>
  <div class="app-container home">
    <img src="@/assets/images/welcome.png" />
  </div>
</template>

<script setup name="Index" lang="ts">
import { initWebSocket } from '@/utils/websocket';

onMounted(() => {
  let protocol = window.location.protocol === 'https:' ? 'wss://' : 'ws://'
  initWebSocket(protocol + window.location.host + import.meta.env.VITE_APP_BASE_API + "/resource/websocket");
});
</script>

<style scoped lang="scss">
.home {
  img {
    width: 100%;
  }
}
</style>
