Skip to content

Commit

Permalink
chore: update config sample in English
Browse files Browse the repository at this point in the history
  • Loading branch information
pluveto committed Aug 11, 2022
1 parent 1dd00fa commit 692d5cd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config.sample.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
# default uploader id
default_uploader = "github"

# The file name formatting template was uploaded
# / The directory separator is used to distinguish directories
# The file name formatting template is applied when uploading
# / is directory separator used to distinguish directories
# {year} Year, for example: 2022
# {month} Month, for example: 02
# {day} Day, for example: 01
# {unix_ts} Time stamp, for example: 1643617626
# {unix_ts} Time stamp, for example: 1643617626. If you're uploading frequently, try {unix_tsms} to escape name repeating
# {fname} Original file name, such as logo (without suffix)
# {fname_hash} MD5 hash value of {fname}
# {ext} File name suffix, for example: .png
# The following example generates a file name preview: 2022/01/upgit_20220131_1643617626.png
# The following example generates a file name like: 2022/01/upgit_20220131_1643617626.png
rename = "{year}/{month}/upgit_{year}{month}{day}_{unix_ts}{ext}"

# -----------------------------------------------------------------------------
Expand All @@ -27,7 +27,7 @@ rename = "{year}/{month}/upgit_{year}{month}{day}_{unix_ts}{ext}"
"markdown-simple" = "![]({url})"

# -----------------------------------------------------------------------------
# URL replacing rules. RawUrl -[replace]-> Url
# URL replacing rules. Process: RawUrl -[replace]-> Url
# -----------------------------------------------------------------------------

# If your network access to Github is abnormal or sluggish, you can try the following CDN acceleration.
Expand Down Expand Up @@ -97,4 +97,4 @@ upload_preset = "preset_name"

[uploaders.easyimage]
request_url = "https://img.545141.com/api/index.php"
token = "1c17b11693cb5ec63859b0ccccccccccc"
token = "1c17b11693cb5ec63859b0ccccccccccc"

0 comments on commit 692d5cd

Please sign in to comment.