forked from Sanders/TelegaBot
Add secret
This commit is contained in:
+1
-1
@@ -38,5 +38,5 @@ out/
|
||||
.aider*
|
||||
|
||||
### Secret configurations ###
|
||||
src/main/resources/application-secrets.properties
|
||||
###src/main/resources/application-secrets.properties
|
||||
*.secrets.*
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
package ru.cathub.telegabot.utils;
|
||||
|
||||
import ru.cathub.telegabot.model.Book;
|
||||
|
||||
import java.sql.Date;
|
||||
import java.text.SimpleDateFormat;
|
||||
|
||||
import static ru.cathub.telegabot.utils.Constants.*;
|
||||
|
||||
public class BookFormatUtils {
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# Telegram configuration
|
||||
bot.token=5908676914:AAGU9LVyXYZYafpRgwOf1tolk0HGYvcHszY
|
||||
bot.name=TelegaBot
|
||||
|
||||
# Database configuration
|
||||
spring.datasource.url=jdbc:postgresql://192.168.0.10:5432/telegabot
|
||||
spring.datasource.username=postgres
|
||||
spring.datasource.password=Vftrixpo05
|
||||
@@ -1,5 +1,4 @@
|
||||
spring.application.name=TelegaBot
|
||||
cbr.currency.rates.xml.url=http://www.cbr.ru/scripts/XML_daily.asp
|
||||
|
||||
spring.jpa.hibernate.ddl-auto=validate
|
||||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
||||
|
||||
Reference in New Issue
Block a user