mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 11:13:45 -05:00
Ensure valid ExposedSettings for stories (#10334)
GitOrigin-RevId: 4f105ee628d55a9ea33f03429fe01a82717ed8b7
This commit is contained in:
parent
b11c18d04e
commit
f2749e66a9
1 changed files with 22 additions and 2 deletions
|
@ -118,9 +118,28 @@ const initialize = () => {
|
||||||
|
|
||||||
window.ExposedSettings = {
|
window.ExposedSettings = {
|
||||||
appName: 'Overleaf',
|
appName: 'Overleaf',
|
||||||
|
cookieDomain: '.overleaf.stories',
|
||||||
|
dropboxAppName: 'Overleaf-Stories',
|
||||||
|
emailConfirmationDisabled: false,
|
||||||
|
enableSubscriptions: true,
|
||||||
|
hasAffiliationsFeature: false,
|
||||||
|
hasLinkUrlFeature: false,
|
||||||
|
hasLinkedProjectFileFeature: true,
|
||||||
|
hasLinkedProjectOutputFileFeature: true,
|
||||||
|
hasSamlFeature: true,
|
||||||
|
isOverleaf: true,
|
||||||
|
labsEnabled: true,
|
||||||
maxEntitiesPerProject: 10,
|
maxEntitiesPerProject: 10,
|
||||||
maxUploadSize: 5 * 1024 * 1024,
|
maxUploadSize: 5 * 1024 * 1024,
|
||||||
enableSubscriptions: true,
|
recaptchaDisabled: {
|
||||||
|
invite: true,
|
||||||
|
login: true,
|
||||||
|
passwordReset: true,
|
||||||
|
register: true,
|
||||||
|
},
|
||||||
|
sentryAllowedOriginRegex: '',
|
||||||
|
siteUrl: 'http://localhost',
|
||||||
|
templateLinks: [],
|
||||||
textExtensions: [
|
textExtensions: [
|
||||||
'tex',
|
'tex',
|
||||||
'latex',
|
'latex',
|
||||||
|
@ -152,7 +171,8 @@ const initialize = () => {
|
||||||
'gv',
|
'gv',
|
||||||
'mf',
|
'mf',
|
||||||
],
|
],
|
||||||
} as typeof window.ExposedSettings
|
validRootDocExtensions: ['tex', 'Rtex', 'ltx'],
|
||||||
|
}
|
||||||
|
|
||||||
window.project_id = project._id
|
window.project_id = project._id
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue