Commit 686d7582 authored by Giannis Kopanas's avatar Giannis Kopanas

Merge branch 'file-attachment' into 'master'

fi(config): pass new config dashboard

Closes #226

See merge request !237
parents 6fa1b27a 781e87b5
Pipeline #8511 failed with stages
in 8 minutes and 55 seconds
......@@ -134,6 +134,17 @@ module.exports = {
'http://localhost:3000/password-reset',
sender: process.env.PUBSWEET_PASSWORD_RESET_SENDER || 'dev@example.com',
},
'pubsweet-component-xpub-dashboard': {
acceptUploadFiles: [
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'application/x-latex',
'text/vnd.latex-z',
'text/x-tex',
'application/pdf',
'application/epub+zip',
'application/zip',
],
},
'pubsweet-component-ink-backend': {
inkEndpoint:
process.env.INK_ENDPOINT || 'http://inkdemo-api.coko.foundation/',
......@@ -144,5 +155,10 @@ module.exports = {
'editoria-typescript': '2',
},
},
publicKeys: ['pubsweet-client', 'authsome', 'validations'],
publicKeys: [
'pubsweet-client',
'authsome',
'validations',
'pubsweet-component-xpub-dashboard',
],
}
......@@ -16,7 +16,7 @@ module.exports = {
collections: Joi.array(),
version: Joi.number(),
submitted: Joi.date(),
source: Joi.string(), // TODO: move to a file
source: Joi.string().allow(''), // TODO: move to a file
metadata: Joi.object({
title: Joi.string(),
abstract: Joi.string(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment