Add component to upload book cover images
This commit is contained in:
@@ -13,6 +13,7 @@ type Config struct {
|
||||
DatabaseFilePath string `toml:"database_file_path" comment:"Path to sqlite database file."`
|
||||
DemoDataPath string `toml:"demo_data_path" comment:"The path to the sql file to load for demo data."`
|
||||
JWTKey string `toml:"jwt_key" comment:"The key used to encrypt the generated JWT. Encoded in base64. If empty a random one will be generated on every restart."`
|
||||
ImageFolderPath string `toml:"image_folder_path" comment:"Folder where uploaded files will be stored."`
|
||||
}
|
||||
|
||||
func defaultConfig() Config {
|
||||
@@ -21,6 +22,7 @@ func defaultConfig() Config {
|
||||
DatabaseFilePath: "plm.db",
|
||||
DemoDataPath: "",
|
||||
JWTKey: "",
|
||||
ImageFolderPath: "img",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user