Update access_url format to include '/port/'

This commit is contained in:
Charmunk 2025-11-03 21:31:38 -05:00 committed by GitHub
parent cb5c665e46
commit f2b990dbf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,7 @@ export const createContainer = async (password, type, authorization) => {
description: config.description,
image: config.image,
port,
access_url: `${process.env.SERVER_URL}:${port}`
access_url: `${process.env.SERVER_URL}/port/${port}`
})
.returning(['id', 'container_id', 'type', 'description', 'image', 'port', 'access_url']);