Danny Coates 246e2c8db0 set downloadMetadata.status to 404 on unfound downloads. fixes #1501 | 4 years ago | |
---|---|---|
.. | ||
bin | 4 years ago | |
middleware | 4 years ago | |
routes | 4 years ago | |
storage | 4 years ago | |
amplitude.js | 4 years ago | |
clientConstants.js | 5 years ago | |
config.js | 4 years ago | |
fxa.js | 5 years ago | |
initScript.js | 5 years ago | |
keychain.js | 4 years ago | |
layout.js | 5 years ago | |
limiter.js | 5 years ago | |
locale.js | 5 years ago | |
log.js | 7 years ago | |
metadata.js | 4 years ago | |
readme.md | 5 years ago | |
state.js | 4 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