Loading Dockerfile +1 −1 Changes for Dockerfile: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ RUN npm config set registry https://registry.npmmirror.com RUN git clone https://mirrors.sustech.edu.cn/git/sustech-cra/overleaf-ldap-oauth2.git /src RUN cat /src/ldap-overleaf-sl/sharelatex/router-append.js RUN head -n -1 /overleaf/services/web/app/src/router.js > temp.txt ; mv temp.txt /overleaf/services/web/app/src/router.js RUN head -n -2 /overleaf/services/web/app/src/router.js > temp.txt ; mv temp.txt /overleaf/services/web/app/src/router.js RUN cat /src/ldap-overleaf-sl/sharelatex/router-append.js >> /overleaf/services/web/app/src/router.js # recompile Loading ldap-overleaf-sl/sharelatex/router-append.js +1 −0 Changes for ldap-overleaf-sl/sharelatex/router-append.js: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2,4 +2,5 @@ webRouter.get('/oauth/callback', AuthenticationController.oauth2Callback) AuthenticationController.addEndpointToLoginWhitelist('/oauth/redirect') AuthenticationController.addEndpointToLoginWhitelist('/oauth/callback') webRouter.get('*', ErrorController.notFound) } Loading
Dockerfile +1 −1 Changes for Dockerfile: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ RUN npm config set registry https://registry.npmmirror.com RUN git clone https://mirrors.sustech.edu.cn/git/sustech-cra/overleaf-ldap-oauth2.git /src RUN cat /src/ldap-overleaf-sl/sharelatex/router-append.js RUN head -n -1 /overleaf/services/web/app/src/router.js > temp.txt ; mv temp.txt /overleaf/services/web/app/src/router.js RUN head -n -2 /overleaf/services/web/app/src/router.js > temp.txt ; mv temp.txt /overleaf/services/web/app/src/router.js RUN cat /src/ldap-overleaf-sl/sharelatex/router-append.js >> /overleaf/services/web/app/src/router.js # recompile Loading
ldap-overleaf-sl/sharelatex/router-append.js +1 −0 Changes for ldap-overleaf-sl/sharelatex/router-append.js: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2,4 +2,5 @@ webRouter.get('/oauth/callback', AuthenticationController.oauth2Callback) AuthenticationController.addEndpointToLoginWhitelist('/oauth/redirect') AuthenticationController.addEndpointToLoginWhitelist('/oauth/callback') webRouter.get('*', ErrorController.notFound) }