diff --git a/.gitignore b/.gitignore index 2eb32ec..7c0e119 100644 --- a/.gitignore +++ b/.gitignore @@ -105,4 +105,4 @@ dist ## Above is Github's recommendations for Node.js. Below are my additions. ## package-lock.json -files/* +files/photos/* diff --git a/files/photos/README.md b/files/photos/README.md new file mode 100644 index 0000000..118a7ff --- /dev/null +++ b/files/photos/README.md @@ -0,0 +1,3 @@ +# Hyperling.com - files/photos/ + +Used by `http://localhost:8080/photos` to build albums for sharing. diff --git a/main.js b/main.js index 5bc061d..5ef14f1 100755 --- a/main.js +++ b/main.js @@ -210,7 +210,6 @@ async function main() { mime = "text/*"; break; } - console.log("- Extension", extension, "led to MIME", mime); // Return the file res.contentType(mime); diff --git a/pages/photos.sh b/pages/photos.sh index 2760e33..eb0d38f 100755 --- a/pages/photos.sh +++ b/pages/photos.sh @@ -31,11 +31,17 @@ ls files/photos/ | sort -r | while read album; do echo -e "target='_blank' rel='noopener noreferrer'>$album_name" echo -e "\t\t