Josh e7f3c91d0b Update config.js | 2 years ago | |
---|---|---|
.. | ||
bin | 3 years ago | |
middleware | 2 years ago | |
routes | 2 years ago | |
storage | 2 years ago | |
clientConstants.js | 2 years ago | |
config.js | 2 years ago | |
fxa.js | 5 years ago | |
initScript.js | 2 years ago | |
layout.js | 2 years ago | |
limiter.js | 5 years ago | |
locale.js | 2 years ago | |
log.js | 7 years ago | |
metadata.js | 6 years ago | |
readme.md | 5 years ago | |
state.js | 2 years ago |
The server provides the API, serves static assets, and renders the pages for Send. The production entrypoint is prod.js and the development entrypoint is dev.js via webpack-dev-server
.
config.js contains the schema for our configuration options. Environment variables are the preferred method for setting configuration.
Contains authentication and localization middleware.
Contains all the server routes and handlers for the API and pages
Contains implementations of possible storage engines for the files and metadata