change upload folder
All checks were successful
build docker container automatically / build (push) Successful in 3m21s
All checks were successful
build docker container automatically / build (push) Successful in 3m21s
This commit is contained in:
@ -11,7 +11,7 @@ pub struct ServerConfig {
|
|||||||
impl ServerConfig {
|
impl ServerConfig {
|
||||||
pub fn load() -> Self {
|
pub fn load() -> Self {
|
||||||
Self {
|
Self {
|
||||||
upload_folder: "./test/".to_string(),
|
upload_folder: "./uploads/".to_string(),
|
||||||
db_url: std::env::var("HTTPSERVER_DATABASE_URL").expect("missing HTTPSERVER_DATABASE_URL"),
|
db_url: std::env::var("HTTPSERVER_DATABASE_URL").expect("missing HTTPSERVER_DATABASE_URL"),
|
||||||
|
|
||||||
upload_storage_limit_soft: 1024 * 1024 * 1024 * 200,
|
upload_storage_limit_soft: 1024 * 1024 * 1024 * 200,
|
||||||
|
|||||||
Reference in New Issue
Block a user