From e849e705c30cceec3cf7336a21bed96c8a911e90 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Tue, 8 Oct 2024 03:43:08 +0300 Subject: Добавил рейтинг Добавил страницу топа Добавил rss/xml/json feed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/dev.yaml | 8 +++++++- config/prod.yaml | 10 ++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/dev.yaml b/config/dev.yaml index 95acdeb..9d399e1 100644 --- a/config/dev.yaml +++ b/config/dev.yaml @@ -6,4 +6,10 @@ db: listen: :8000 admins: - admin: password \ No newline at end of file + admin: password + +host: https://sh.org.ru + +keys: + - 12345678901234567890123456789012 + - 12345678901234567890123456789012 \ No newline at end of file diff --git a/config/prod.yaml b/config/prod.yaml index 9f8aa71..cd178cc 100644 --- a/config/prod.yaml +++ b/config/prod.yaml @@ -1,9 +1,15 @@ debug: true db: - dsn: "postgres://postgres:@localhost:5432/test?sslmode=disable" + dsn: "postgres://shorg:shorg@db:5432/test?sslmode=disable" listen: :8000 admins: - admin: password \ No newline at end of file + admin: password + +host: https://sh.org.ru + +keys: + - 12345678901234567890123456789012 + - 12345678901234567890123456789012 \ No newline at end of file -- cgit v1.2.3