Skip to content

Commit 6962181

Browse files
committed
Fix path of metadata files written by internal api
1 parent 459a7f8 commit 6962181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/InternalController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function updateMetadataAction(Request $req): Response
5151
throw new \RuntimeException('Failed gzencoding '.$contents);
5252
}
5353

54-
$path = $this->metadataDir . '/' . $path;
54+
$path = $this->metadataDir . '/' . $path.'.gz';
5555
file_put_contents($path.'.tmp', $gzipped);
5656
touch($path.'.tmp', $filemtime);
5757
rename($path.'.tmp', $path);

0 commit comments

Comments
 (0)