2dfa1b6b14
* Add Openstack support * Fix datasource getting * Restore example config + remove useless vscode dir * Restore example config + remove useless vscode dir * Add config.ts to the entryPoints list * Fix indenting problems with switch-case * Replace openstack-swift-client * Add openstack to the config validator * Rename Openstack to Swift * Better error handling for swift * More error handling * Update Swift.ts Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
19 lines
No EOL
340 B
TOML
19 lines
No EOL
340 B
TOML
[core]
|
|
secure = true
|
|
secret = 'changethis'
|
|
host = '0.0.0.0'
|
|
port = 3000
|
|
database_url = 'postgres://postgres:postgres@postgres/postgres'
|
|
|
|
[urls]
|
|
route = '/go'
|
|
length = 6
|
|
|
|
[uploader]
|
|
route = '/u'
|
|
embed_route = '/a'
|
|
length = 6
|
|
directory = './uploads'
|
|
user_limit = 104900000 # 100mb
|
|
admin_limit = 104900000 # 100mb
|
|
disabled_extensions = ['jpg'] |