Files
go_blog/config/config.yml

26 lines
588 B
YAML
Raw Normal View History

2024-11-01 00:29:35 +08:00
database:
2025-04-15 16:47:00 +08:00
Driver: mysql
2024-07-24 04:19:01 +08:00
Prefix: gin_
DSN: "blog:qI7=bL4@iJ@tcp(47.93.160.42:3630)/blog?charset=utf8mb4&parseTime=True&loc=Local"
2024-07-24 04:19:01 +08:00
# Prefix: gin_ # This line is commented out in the original .ini file
jwt:
SecretKey: "\x13\xbf\xd2 1\xce\x8b\xc1\t\xc1=\xec\x07\x93\xd4\x9e\xbco\xb0Z"
2025-04-15 16:47:00 +08:00
security:
JWTSecret: "jwt_secret"
2024-07-24 04:19:01 +08:00
project:
StaticUrlMapPath:
- assets/static/: static/
- assets/docs/: docs/
- media/: media/
TemplateGlob: "templates/**/*"
MediaFilePath: "media/upload/"
server:
2025-04-15 16:47:00 +08:00
Port: 8090
2024-07-24 04:19:01 +08:00
ReadTimeout: 60
2025-04-09 16:56:05 +08:00
WriteTimeout: 60
theme:
current: "default"