mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-29 19:56:09 +01:00
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 "
},
...
}
|
||
|---|---|---|
| .. | ||
| ajax.js | ||
| backpressure.js | ||
| bcrypt.js | ||
| cache.js | ||
| cache_state.js | ||
| common.js | ||
| crypto.js | ||
| events.js | ||
| form.js | ||
| index.js | ||
| memory.js | ||
| mimetype.js | ||
| navigate.js | ||
| notify.js | ||
| org.js | ||
| path.js | ||
| popup.js | ||
| random.js | ||
| settings.js | ||
| upload.js | ||