Skip to content

Commit 74108cf

Browse files
committed
Make project URL schema match base_url
1 parent 9bc79f9 commit 74108cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ module.exports = {
253253

254254
// TODO http/https needs to be dynamic (or we just enforce https?)
255255
// and port number
256-
const projectURL = `http://${project.name}.${this._options.domain}`
256+
const baseURL = new URL(this._app.config.base_url)
257+
const projectURL = `${baseURL.protocol}//${project.name}.${this._options.domain}`
257258

258259
const authTokens = await project.refreshAuthTokens()
259260

0 commit comments

Comments
 (0)