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

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