change url
This commit is contained in:
parent
002b708150
commit
cf3f2fa8cc
@ -9,7 +9,7 @@ jwt:
|
||||
secret: "5Lm25V3Qd7aut8dr4QUxm5PZUrSFs"
|
||||
|
||||
postgresql:
|
||||
host: 36.95.173.27
|
||||
host: pg16
|
||||
port: 5432
|
||||
driver: postgres
|
||||
db: eslogad_db
|
||||
@ -27,7 +27,7 @@ s3:
|
||||
endpoint: http://36.95.173.27:9000 # S3 API endpoint, not console port
|
||||
bucket_name: enaklo
|
||||
log_level: Error
|
||||
host_url: 'https://s3.apskel.org/'
|
||||
host_url: 'http://36.95.173.27:9000'
|
||||
|
||||
log:
|
||||
log_format: 'json'
|
||||
|
||||
@ -49,8 +49,8 @@ type OnlyOfficeServiceImpl struct {
|
||||
func NewOnlyOfficeService(processor processor.OnlyOfficeProcessor, cfg *config.OnlyOffice, db *gorm.DB, fileStorage FileStorage) *OnlyOfficeServiceImpl {
|
||||
return &OnlyOfficeServiceImpl{
|
||||
processor: processor,
|
||||
documentBaseURL: getEnvOrDefault("DOCUMENT_BASE_URL", "https://eslogad-api.apskel.org/api/v1/files"),
|
||||
callbackBaseURL: getEnvOrDefault("CALLBACK_BASE_URL", "https://eslogad-api.apskel.org/api/v1/onlyoffice/callback"),
|
||||
documentBaseURL: getEnvOrDefault("DOCUMENT_BASE_URL", "http://36.95.173.27:4000/api/v1/files"),
|
||||
callbackBaseURL: getEnvOrDefault("CALLBACK_BASE_URL", "http://36.95.173.27:4000/api/v1/onlyoffice/callback"),
|
||||
serverURL: cfg.URL,
|
||||
jwtSecret: cfg.Token,
|
||||
config: cfg,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user