Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions config/customise-me.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@
"application/pdf"
]
},
{
"comment": "Remove the Markdown to HTML converter from the default chained converter",
"@type": "Override",
"overrideInstance": { "@id": "urn:solid-server:default:ChainedConverter" },
"overrideSteps": [{
"@type": "OverrideListRemove",
"overrideParameter": { "@id": "ChainedConverter:_converters" },
"overrideTarget": { "@id": "urn:solid-server:default:MarkdownToHtmlConverter" }
}]
},
{
"comment": "Serve Mashlib static files.",
"@id": "urn:solid-server:default:StaticAssetHandler",
Expand Down Expand Up @@ -91,6 +101,26 @@
"@type": "StaticAssetEntry",
"relativeUrl": "/mashlib.min.js.map",
"filePath": "./node_modules/mashlib/dist/mashlib.min.js.map"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/841.mashlib.js",
"filePath": "./node_modules/mashlib/dist/841.mashlibDo you know if .js"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/841.mashlib.map",
"filePath": "./node_modules/mashlib/dist/841.mashlib.map"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/841.mashlib.min.js",
"filePath": "./node_modules/mashlib/dist/841.mashlib.min.js"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/841.mashlib.min.js.map",
"filePath": "./node_modules/mashlib/dist/841.mashlib.min.js.map"
}
]
}
Expand Down
119 changes: 119 additions & 0 deletions config/customise-me.ori.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{
"comment": "Basic overrides parameters for a production server",
"@context": [
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/pivot/^1.0.0/components/context.jsonld"
],
"@graph": [
{
"comment": "The settings of your email server.",
"@type": "Override",
"overrideInstance": {
"@id": "urn:solid-server:default:EmailSender"
},
"overrideParameters": {
"@type": "BaseEmailSender",
"senderName": "no-reply@solidcommunity.net",
"emailConfig_host": "smtp.sendgrid.net",
"emailConfig_port": 465,
"emailConfig_auth_user": "apikey",
"emailConfig_auth_pass": "<fill me in>"
}
},
{
"comment": "The location of the new pod templates folder.",
"@type": "Override",
"overrideInstance": {
"@id": "urn:solid-server:default:PodResourcesGenerator"
},
"overrideParameters": {
"@type": "StaticFolderGenerator",
"templateFolder": "templates/pod"
}
},
{
"comment": "Sets the maximum size of a single pod to 70MB.",
"@type": "Override",
"overrideInstance": {
"@id": "urn:solid-server:default:QuotaStrategy"
},
"overrideParameters": {
"@type": "PodQuotaStrategy",
"limit_amount": 70000000,
"limit_unit": "bytes"
}
},
{
"comment": "Serve Databrowser as default representation",
"@id": "urn:solid-server:default:DefaultUiConverter",
"@type": "ConstantConverter",
"contentType": "text/html",
"filePath": "./node_modules/mashlib/dist/databrowser.html",
"options_container": true,
"options_document": true,
"options_minQuality": 1,
"options_disabledMediaRanges": [
"image/*",
"application/pdf"
]
},
{
"comment": "Serve Mashlib static files.",
"@id": "urn:solid-server:default:StaticAssetHandler",
"@type": "StaticAssetHandler",
"assets": [
{
"@type": "StaticAssetEntry",
"relativeUrl": "/browse.html",
"filePath": "./node_modules/mashlib/dist/browse.html"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/mash.css",
"filePath": "./node_modules/mashlib/dist/mash.css"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/mashlib.js",
"filePath": "./node_modules/mashlib/dist/mashlib.js"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/mashlib.js.map",
"filePath": "./node_modules/mashlib/dist/mashlib.js.map"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/mashlib.min.js",
"filePath": "./node_modules/mashlib/dist/mashlib.min.js"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/mashlib.min.js.map",
"filePath": "./node_modules/mashlib/dist/mashlib.min.js.map"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/841.mashlib.js",
"filePath": "./node_modules/mashlib/dist/841.mashlibDo you know if .js"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/841.mashlib.map",
"filePath": "./node_modules/mashlib/dist/841.mashlib.map"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/841.mashlib.min.js",
"filePath": "./node_modules/mashlib/dist/841.mashlib.min.js"
},
{
"@type": "StaticAssetEntry",
"relativeUrl": "/841.mashlib.min.js.map",
"filePath": "./node_modules/mashlib/dist/841.mashlib.min.js.map"
}
]
}
]
}

Loading