Skip to content

Commit

Permalink
chore(spx-backend): fix GOP_SPX_DSN in .env.dev
Browse files Browse the repository at this point in the history
- Use `utf8mb4` instead of `utf8` for full Unicode support. (Fixes goplus#987)
- Set `loc` to `UTC` for consistent time zone handling.

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
  • Loading branch information
aofei committed Oct 17, 2024
1 parent 52fa2d2 commit 7fba1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spx-backend/.env.dev
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PORT=:8080
ALLOWED_ORIGIN=*
# Use local DB by default for dev
GOP_SPX_DSN=root:123456@tcp(127.0.0.1:3306)/builder?charset=utf8&parseTime=True&loc=Local
GOP_SPX_DSN=root:123456@tcp(127.0.0.1:3306)/builder?charset=utf8mb4&parseTime=True&loc=UTC
# AIGC Service
AIGC_ENDPOINT=http://36.213.14.15:8888

Expand Down

0 comments on commit 7fba1a8

Please sign in to comment.