Some bits for ReactJS-based client.
This commit is contained in:
parent
115d254baf
commit
4f52b571c9
27 changed files with 2326 additions and 202 deletions
2
app.js
2
app.js
|
@ -128,6 +128,8 @@ app.use(logger(config.www.log, {
|
|||
|
||||
app.use(cookieParser());
|
||||
app.use(express.static(path.join(__dirname, 'public')));
|
||||
app.use('/mailtrain', express.static(path.join(__dirname, 'client', 'dist')));
|
||||
app.use('/locales', express.static(path.join(__dirname, 'client', 'locales')));
|
||||
|
||||
app.use(session({
|
||||
store: config.redis.enabled ? new RedisStore(config.redis) : false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue