|
|
90a2ae2b8e
|
feature (config): make config look nicer
before this, our config.json didn't look user friendly with a massive:
{
"general": {
"name": null,
"port": null,
"host": "demo.filestash.app",
"secret_key": "__REDACTED__",
"force_ssl": null,
"editor": null,
"fork_button": null,
"logout": null,
"display_hidden": null,
"refresh_after_upload": null,
"upload_button": null,
"upload_pool_size": null,
"filepage_default_view": null,
"filepage_default_sort": null,
"cookie_timeout": null,
"custom_css": null,
"auto_connect": null,
"enable_image": null,
"remember_me": null
},
"features": {
"api": {
"enable": null,
"api_key": "foobar ",
"enabled": null
},
"share": {
"enable": null,
"default_access": null,
"redirect": null
},
.....
}
which now translates to a much nicer:
{
"general": {
"host": "demo.filestash.app",
"secret_key": "__REDACTED__"
},
"features": {
"api": {
"api_key": "foobar "
},
...
}
|
2022-11-21 08:08:24 +11:00 |
|