Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constants are duplicated between frontend and backend #25

Open
sersorrel opened this issue Aug 22, 2019 · 0 comments
Open

Constants are duplicated between frontend and backend #25

sersorrel opened this issue Aug 22, 2019 · 0 comments
Labels
enhancement New feature or request low-priority

Comments

@sersorrel
Copy link
Contributor

Example:

export const maxFilesize = 31457280

Having the filesize configured separately for the frontend and backend will just lead to pain if 30MiB is ever deemed insufficient; there are several other constants (e.g. the grade descriptions) that should really be single-sourced as well.

@sersorrel sersorrel added enhancement New feature or request low-priority labels Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low-priority
Projects
None yet
Development

No branches or pull requests

1 participant