Josh e7f3c91d0b Update config.js 1 year ago
..
bin 3165086869 Remove legal page, add no affiliation text in footer 3 years ago
middleware 1a0ddf9a05 Disable check user when fxa is not enabled 2 years ago
routes 073accfe65 Revert "Update eslint & plugins" 1 year ago
storage 55344f8a9d Drop mkdirp 1 year ago
clientConstants.js e32ea7d0aa Added the ability to define a custom footer via environment variables 1 year ago
config.js e7f3c91d0b Update config.js 1 year ago
fxa.js 017bb0d146 wrap openid-config request in try/catch 5 years ago
initScript.js 073accfe65 Revert "Update eslint & plugins" 1 year ago
layout.js d081affa38 Move injection of custom CSS from client to server 1 year ago
limiter.js 7f9674f494 fixed size limit on server to include crypto overhead 5 years ago
locale.js 44a25e4156 Update fluent 1 year ago
log.js 53e822964e a few changes to make A/B testing easier 6 years ago
metadata.js 3fd2537311 refactored server 6 years ago
readme.md f3fb433531 Fix link to dev.js and prod.js files. 5 years ago
state.js 660f36e584 Change default value for custom css to empty string 1 year ago

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