change url

This commit is contained in:
Efril
2026-04-26 20:45:15 +07:00
parent 002b708150
commit cf3f2fa8cc
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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,