Added safe.fiery.me to README.md.
@@ -11,3 +11,4 @@ pages/custom/**
migrate.js
yarn.lock
package-lock.json
+.vscode/
@@ -56,7 +56,8 @@ Because of how nodejs apps work, if you want it attached to a domain name you wi
## Sites using loli-safe
- [lolisafe.moe](https://lolisafe.moe): A small safe worth protecting.
- [safe.moe](https://safe.moe): The world's most ~~un~~safe pomf clone
-- [updx.xyz](http://updx.xyz) A shitty clone. ~~At least the files are more secure!~~
+- [updx.xyz](http://updx.xyz): A shitty clone. ~~At least the files are more secure!~~
+- [safe.fiery.me](https://safe.fiery.me): Just another clone.
- Feel free to add yours here.
## Author
@@ -98,7 +98,7 @@ uploadsController.actuallyUpload = async (req, res, userid, album) => {
hash: fileHash,
ip: req.ip,
albumid: album,
- userid: userid.id,
+ userid: userid !== undefined ? userid.id : null,
timestamp: Math.floor(Date.now() / 1000)
});
} else {