summaryrefslogtreecommitdiff
path: root/public/read/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/read/index.php')
-rw-r--r--public/read/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/read/index.php b/public/read/index.php
index 87857da..74bb4ed 100644
--- a/public/read/index.php
+++ b/public/read/index.php
@@ -26,7 +26,7 @@ if (count($remaingUrls) === count($urls)) {
respondAndExit(404, 'Not Found');
}
-if (!file_put_contents($config['path_to_file'], implode("\n", $remaingUrls))) {
+if (!file_put_contents($config['path_to_file'], implode("\n", $remaingUrls)."\n")) {
respondAndExit(500, 'Internal Server Error');
}