mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
chore: Move open terminal in new tab to terminal component
This commit is contained in:
1 parent
ab4d06498a
commit
5b7bf0794c
12 files changed
+24
-19
No files matched your search
@@ -8,6 +8,7 @@ import {
|
||||
} from '../containers/docker.js'
|
||||
import logger from '../utils/logger.js'
|
||||
import { questManager } from './quest.js'
|
||||
import config from '../config'
|
||||
|
||||
async function deactivateSessions(userId: string, quest: string) {
|
||||
const sessions = await Session.find({
|
||||
@@ -65,7 +66,7 @@ export async function createNewSession(
|
||||
})
|
||||
|
||||
console.log('container', container.id)
|
||||
console.log('containerName', `http://localhost/terminal/${containerName}`)
|
||||
console.log('containerName', `${config.baseUrl}/terminal/${containerName}`)
|
||||
|
||||
const progress = userProfile.progress.get(quest.id)
|
||||
if (!progress) {
|
||||
|
||||
Reference in new issue
Block a user