Skip to content

Commit

Permalink
Fix bust cache typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Oct 12, 2021
1 parent 253e856 commit b11bd69
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/akamai_cache_buster/bustCache.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ def createMetadata(paths, releases, appName):
if (prefix == None):
prefix = ''

splitPrefix f"apps"
metadata += f'<match:recursive-dirs value=\"apps/{prefix + '/'}{appName}\">\n'
splitPrefix = f"apps"
prefix += "/"
metadata += f'<match:recursive-dirs value=\"apps/{prefix}{appName}\">\n'
metadata += '<revalidate>now</revalidate>'
metadata += '</match:recursive-dirs>'
for path in paths:
Expand Down

0 comments on commit b11bd69

Please sign in to comment.