mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
auto type echo start
This commit is contained in:
1 parent
15465feda9
commit
2eaf3c8f24
1 file changed
+1
@@ -74,6 +74,7 @@ export async function createSession() {
|
|||||||
const res = await api.post('/sessions', { questId: store.questId })
|
const res = await api.post('/sessions', { questId: store.questId })
|
||||||
const { data } = res
|
const { data } = res
|
||||||
await setSession(data)
|
await setSession(data)
|
||||||
|
socket.emit('terminal', 'echo start')
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
toast.error('Failed to create a new session. Please try again later.')
|
toast.error('Failed to create a new session. Please try again later.')
|
||||||
|
|||||||
Reference in new issue
Block a user