Просмотр исходного кода

added comment for per-user route to top-level directory

Brian Gough 10 лет назад
Родитель
Сommit
92d41dd74e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      services/web/app/coffee/router.coffee

+ 1 - 0
services/web/app/coffee/router.coffee

@@ -129,6 +129,7 @@ module.exports = class Router
 				next()
 				next()
 			), AuthorizationMiddlewear.ensureUserCanReadProject, CompileController.getFileFromClsi
 			), AuthorizationMiddlewear.ensureUserCanReadProject, CompileController.getFileFromClsi
 
 
+		# direct url access to output files for user but no build, to retrieve files when build fails
 		webRouter.get  /^\/project\/([^\/]*)\/user\/([0-9a-f-]+)\/output\/(.*)$/,
 		webRouter.get  /^\/project\/([^\/]*)\/user\/([0-9a-f-]+)\/output\/(.*)$/,
 			((req, res, next) ->
 			((req, res, next) ->
 				params =
 				params =