Skip to content

Commit

Permalink
frontend: add custom tweet max defualt length support
Browse files Browse the repository at this point in the history
  • Loading branch information
alimy committed Apr 14, 2023
1 parent f059b95 commit a1160ca
Show file tree
Hide file tree
Showing 32 changed files with 278 additions and 266 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ All notable changes to paopao-ce are documented in this file.
- add custom comment sort strategy support [#243](https://github.com/rocboss/paopao-ce/pull/243)
- add `RedisCacheIndex` feature [#250](https://github.com/rocboss/paopao-ce/pull/250)
- add `Sentry` feature [#258](https://github.com/rocboss/paopao-ce/pull/258)
- add default tweet max length configure in web/.env support.
Set the value of `VITE_DEFAULT_TWEET_MAX_LENGTH` in file web/.env to change the tweet max default length.
```
# file: web/.env
...
# 局部参数
VITE_DEFAULT_TWEET_MAX_LENGTH=300
...
```

### Fixed

Expand Down
1 change: 1 addition & 0 deletions web/.env
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ VITE_ALLOW_PHONE_BIND=true

# 局部参数
VITE_DEFAULT_TWEET_VISIBILITY=friend
VITE_DEFAULT_TWEET_MAX_LENGTH=300
VITE_COPYRIGHT_TOP="2023 paopao.info"
VITE_COPYRIGHT_LEFT="Roc's Me"
VITE_COPYRIGHT_LEFT_LINK=""
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a1160ca

Please sign in to comment.