Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Conversation

olvrb
Copy link

@olvrb olvrb commented Dec 30, 2018

Changes

  • Reorganize all routes into a separate folder: controllers/.
  • Set up a database system (Sequelize with pg) to store statistics (note: no personal data to identify a user).
  • In addition to the last point, create a new config file (config/config.js), readme has been updated accordingly.

@nullpixel
Copy link
Contributor

Looks good, but did you remove the regex stuff?

@nullpixel
Copy link
Contributor

“Simplify the way we check if a request is a piracy repo“ — this was intentionally complex so we can wildcard domains and paths and do other useful stuff

@olvrb
Copy link
Author

olvrb commented Dec 30, 2018

Ah, I see. I'll revert it back to the previous regex stuff.

@olvrb
Copy link
Author

olvrb commented Dec 31, 2018

The changes have been reverted, and the database changed to SQLite for simpler setup.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants