File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 142142 -d ${FILEBROWSER_DATABASE} --lockPassword --perm.share=false --perm.execute=false
143143/usr/local/bin/filebrowser -d ${FILEBROWSER_DATABASE} --port ${FILEBROWSER_PORT} \
144144 ${FILEBROWSER_CERT} ${FILEBROWSER_KEY} &
145+ export OIO_FB_URL=" ${OIO_FB_URL} :${FILEBROWSER_PORT} /files/il?u=${MEDLEY_UNAME} &p=${SFTP_PWD} "
145146#
146147#
147148#
Original file line number Diff line number Diff line change 1616const config = require ( "./config" ) ;
1717const express = require ( "express" ) ;
1818const docker = require ( './docker' ) ;
19+ const url = require ( "url" ) ;
20+
1921//
2022// The router
2123//
@@ -112,6 +114,7 @@ function interlispRunCmd(req) {
112114 + dockerTlsMounts
113115 + ` --env PORT=${ port } `
114116 + ` --env NCO=${ config . isNCO ( req ) ? "true" : "false" } `
117+ + ` --env OIO_FB_URL=${ url . format ( { protocol : req . protocol , host : req . hostname } ) } `
115118 + medleyEnvs ( req )
116119 + ` --env IDLE_SECS=${ isGuest ? config . idleTimeoutSecsGuest : config . idleTimeoutSecs } `
117120 + sftpEnvs ( req )
You can’t perform that action at this time.
0 commit comments