mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-16 16:34:26 +00:00
9c19bb1d9d
* Added config property for image proxies * Added API call and image url replacing * Added comment explaining why a local function is needed inside the useEffect * Added CHANGELOG entry * Changed wording of the CHANGELOG sentence * Changed CHANGELOG entry Co-Authored-By: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> * Removed fallback to original src * Removed unnecessary API call for empty src URLs * Simplify image url fetching * Refactored imageframe to avoid rerendering of images Co-Authored-By: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> * Renamed config property to useImageProxy Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
40 lines
948 B
Text
40 lines
948 B
Text
{
|
|
"allowAnonymous": true,
|
|
"authProviders": {
|
|
"facebook": true,
|
|
"github": true,
|
|
"twitter": true,
|
|
"gitlab": true,
|
|
"dropbox": true,
|
|
"ldap": true,
|
|
"google": true,
|
|
"saml": true,
|
|
"oauth2": true,
|
|
"email": true,
|
|
"openid": true
|
|
},
|
|
"branding": {
|
|
"name": "ACME Corp",
|
|
"logo": "http://localhost:3000/acme.png"
|
|
},
|
|
"banner": {
|
|
"text": "This is the test banner text",
|
|
"timestamp": "2020-05-22T20:46:08.962Z"
|
|
},
|
|
"customAuthNames": {
|
|
"ldap": "FooBar",
|
|
"oauth2": "Olaf2",
|
|
"saml": "aufSAMLn.de"
|
|
},
|
|
"useImageProxy": false,
|
|
"specialLinks": {
|
|
"privacy": "https://example.com/privacy",
|
|
"termsOfUse": "https://example.com/termsOfUse",
|
|
"imprint": "https://example.com/imprint"
|
|
},
|
|
"version": {
|
|
"version": "mock",
|
|
"sourceCodeUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
|
|
"issueTrackerUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
|
|
}
|
|
}
|