update hostname

This commit is contained in:
2023-09-03 13:23:54 +02:00
parent b827957d8a
commit 0fbe38115f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ type websocketData = {
// dev stuff
const store = useKillStore()
const socket = new WebSocket('wss://tone.sleepycat.date/v2/client/websocket')
const socket = new WebSocket('wss://toneapi.ovh/v2/client/websocket')
socket.onmessage = function (e) {
if (e.data === 'ping') return socket.send('pong')
const data = JSON.parse(e.data)
+1 -1
View File
@@ -181,7 +181,7 @@ export const useKillStore = defineStore('kill', {
// console.log(isRef(entry), this.$state.killData)
}
fetchWithLoading(
`https://tone.sleepycat.date/v2/client/${type}?` +
`https://toneapi.ovh/v2/client/${type}?` +
filter?.toURLSearchParams() ?? '',
(progress) => {
if (entry && progress !== 1 && unref(entry).progress.value !== 1) {