Danny Coates c146c584f6 static require cryptofill for Edge 6 лет назад
..
bin 3df32e2a22 removed /download from android routes in dev.js since it has no ui 6 лет назад
middleware 7ccf462bf8 implemented PKCE auth (#921) 6 лет назад
routes c146c584f6 static require cryptofill for Edge 6 лет назад
storage 7f1ce41d9c disable validation and resumable for gcs uploads 6 лет назад
amplitude.js 5ce35a71ef added missing entrypoint to metrics 6 лет назад
config.js 9b37e92a81 implemented amplitude metrics (#1141) 6 лет назад
fxa.js 6cc12528b3 fixed some old TODOs 6 лет назад
initScript.js 9b37e92a81 implemented amplitude metrics (#1141) 6 лет назад
layout.js e5f9673521 added window.app for debugging 6 лет назад
limiter.js af7a262ef0 refactored upload away from multipart forms to binary data 6 лет назад
locale.js 1e62aa976d reimplemented l10n using dynamic import() (#1012) 6 лет назад
log.js 53e822964e a few changes to make A/B testing easier 7 лет назад
metadata.js 3fd2537311 refactored server 7 лет назад
readme.md 18e1609cb3 updated docs 7 лет назад
state.js c585c34c01 use one Archive instance for state.archive 6 лет назад

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