Permalink
Browse files

initial public release

  • Loading branch information...
cloutier committed Oct 20, 2015
0 parents commit 961157656701e3fb214a01e2338849cf870fa733
Showing with 2,005 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +10 −0 .htaccess
  3. +661 −0 LICENSE
  4. +426 −0 cover.css
  5. BIN favicon.ico
  6. +193 −0 index.php
  7. +56 −0 pic.php
  8. +414 −0 preview.php
  9. +31 −0 rand.php
  10. +98 −0 server.js
  11. +51 −0 upload.php
  12. +6 −0 var/pswd.php
  13. +57 −0 vote.php
@@ -0,0 +1,2 @@
upload/
var/
@@ -0,0 +1,10 @@
RewriteEngine on
RewriteRule ^Q([A-Za-z0-9-]+)$ preview.php?hash=Q$1
RewriteRule ^ipfs/Q([A-Za-z0-9-]+)$ pic.php?id=Q$1
RewriteRule ^api/v1/upvote/Q([A-Za-z0-9-]+)$ vote.php?type=upvote&id=Q$1
RewriteRule ^api/v1/downvote/Q([A-Za-z0-9-]+)$ vote.php?type=downvote&id=Q$1
RewriteRule ^api/v1/report/Q([A-Za-z0-9-]+)$ vote.php?type=report&id=Q$1
RewriteRule ^random rand.php
RedirectMatch 404 \/.git
RedirectMatch 404 \/server.js
RedirectMatch 404 \/var
661 LICENSE

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 9611576

Please sign in to comment.