From dab5d5538fb83e2dd5e900de3509845ad5c60390 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 28 Aug 2020 18:43:13 -0400 Subject: [PATCH] Fix downloads index The variable root is left over from the previous for loop, it shouldn't be used again here. --- manifests/07-downloads-deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/07-downloads-deployment.yaml b/manifests/07-downloads-deployment.yaml index d10698e67..39cc6b0f7 100644 --- a/manifests/07-downloads-deployment.yaml +++ b/manifests/07-downloads-deployment.yaml @@ -137,8 +137,9 @@ spec: path=os.path.join(root, directory, 'index.html'), message='

Directory listings are disabled. See here for available content.

'.format(root_link), ) + write_index( - path=os.path.join(root, 'index.html'), + path=os.path.join(temp_dir, 'index.html'), message='\n'.join( ['