Merge pull request #68 from BobbyWibowo/master

Added safe.fiery.me to README.md.
This commit is contained in:
Kana 2018-02-01 00:28:17 -03:00 committed by GitHub
commit f1cc65a55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ pages/custom/**
migrate.js migrate.js
yarn.lock yarn.lock
package-lock.json package-lock.json
.vscode/

View File

@ -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 ## Sites using loli-safe
- [lolisafe.moe](https://lolisafe.moe): A small safe worth protecting. - [lolisafe.moe](https://lolisafe.moe): A small safe worth protecting.
- [safe.moe](https://safe.moe): The world's most ~~un~~safe pomf clone - [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. - Feel free to add yours here.
## Author ## Author

View File

@ -98,7 +98,7 @@ uploadsController.actuallyUpload = async (req, res, userid, album) => {
hash: fileHash, hash: fileHash,
ip: req.ip, ip: req.ip,
albumid: album, albumid: album,
userid: userid.id, userid: userid !== undefined ? userid.id : null,
timestamp: Math.floor(Date.now() / 1000) timestamp: Math.floor(Date.now() / 1000)
}); });
} else { } else {