Danny Coates 246e2c8db0 set downloadMetadata.status to 404 on unfound downloads. fixes #1501 4 лет назад
..
bin 9891d1f0ba Begin implementing a reporting mechanism 4 лет назад
middleware 81e9d81dab implemented download tokens 4 лет назад
routes 246e2c8db0 set downloadMetadata.status to 404 on unfound downloads. fixes #1501 4 лет назад
storage 81e9d81dab implemented download tokens 4 лет назад
amplitude.js 8ad4597114 replaced fxa-geodb with load balancer header 4 лет назад
clientConstants.js 1c44d1d0f9 added /config endpoint, use fewer globals (#1172) 5 лет назад
config.js 81e9d81dab implemented download tokens 4 лет назад
fxa.js 017bb0d146 wrap openid-config request in try/catch 5 лет назад
initScript.js 807ecff471 updated sentry libs from raven to @sentry 5 лет назад
keychain.js 9891d1f0ba Begin implementing a reporting mechanism 4 лет назад
layout.js 3e14d3049d only index / route 5 лет назад
limiter.js 7f9674f494 fixed size limit on server to include crypto overhead 5 лет назад
locale.js c80f9ada65 updated deps 5 лет назад
log.js 53e822964e a few changes to make A/B testing easier 7 лет назад
metadata.js 81e9d81dab implemented download tokens 4 лет назад
readme.md f3fb433531 Fix link to dev.js and prod.js files. 5 лет назад
state.js 17057e725d add fxa_required option 4 лет назад

readme.md

Server Code

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.

Server configuration

config.js contains the schema for our configuration options. Environment variables are the preferred method for setting configuration.

Middleware

Contains authentication and localization middleware.

Routes

Contains all the server routes and handlers for the API and pages

Storage

Contains implementations of possible storage engines for the files and metadata