⬆️ Switch to Paperclip

This commit is contained in:
2024-05-26 23:01:20 +08:00
parent f38aab68cd
commit b3b1ec4585
23 changed files with 314 additions and 377 deletions

View File

@ -10,14 +10,18 @@ secret = "LtTjzAGFLshwXhN4ZD4nG5KlMv1MWcsvfv03TSZYnT1VhiAnLIZFTnHUwR0XhGgi"
content = "uploads"
[debug]
database = true
database = false
print_routes = false
[identity]
[paperclip]
endpoint = "http://localhost:8443"
grpc_endpoint = "localhost:7443"
[passport]
client_id = "solarecho"
client_secret = "Z9k9AFTj^p"
endpoint = "https://id.solsynth.dev"
grpc_endpoint = "id.solsynth.dev:7444"
endpoint = "http://localhost:8444"
grpc_endpoint = "localhost:7444"
[calling]
api_key = "APIZwKRLAWaWa8d"
@ -41,5 +45,5 @@ access_token_duration = 300
refresh_token_duration = 2592000
[database]
dsn = "host=localhost dbname=hy_messaging port=5432 sslmode=disable"
dsn = "host=localhost user=postgres password=password dbname=hy_messaging port=5432 sslmode=disable"
prefix = "messaging_"