Josh e7f3c91d0b Update config.js 2 лет назад
..
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" 2 лет назад
storage 55344f8a9d Drop mkdirp 2 лет назад
clientConstants.js e32ea7d0aa Added the ability to define a custom footer via environment variables 2 лет назад
config.js e7f3c91d0b Update config.js 2 лет назад
fxa.js 017bb0d146 wrap openid-config request in try/catch 5 лет назад
initScript.js 073accfe65 Revert "Update eslint & plugins" 2 лет назад
layout.js d081affa38 Move injection of custom CSS from client to server 2 лет назад
limiter.js 7f9674f494 fixed size limit on server to include crypto overhead 5 лет назад
locale.js 44a25e4156 Update fluent 2 лет назад
log.js 53e822964e a few changes to make A/B testing easier 7 лет назад
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 2 лет назад

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