update callback
This commit is contained in:
parent
a0cd19357b
commit
e234ce89a1
@ -49,8 +49,8 @@ type OnlyOfficeServiceImpl struct {
|
|||||||
func NewOnlyOfficeService(processor processor.OnlyOfficeProcessor, cfg *config.OnlyOffice, db *gorm.DB, fileStorage FileStorage) *OnlyOfficeServiceImpl {
|
func NewOnlyOfficeService(processor processor.OnlyOfficeProcessor, cfg *config.OnlyOffice, db *gorm.DB, fileStorage FileStorage) *OnlyOfficeServiceImpl {
|
||||||
return &OnlyOfficeServiceImpl{
|
return &OnlyOfficeServiceImpl{
|
||||||
processor: processor,
|
processor: processor,
|
||||||
documentBaseURL: getEnvOrDefault("DOCUMENT_BASE_URL", "http://36.95.173.27:4000/api/v1/files"),
|
documentBaseURL: getEnvOrDefault("DOCUMENT_BASE_URL", "https://noken-log-api.tni-ad.mil.id/api/v1/files"),
|
||||||
callbackBaseURL: getEnvOrDefault("CALLBACK_BASE_URL", "http://36.95.173.27:4000/api/v1/onlyoffice/callback"),
|
callbackBaseURL: getEnvOrDefault("CALLBACK_BASE_URL", "https://noken-log-api.tni-ad.mil.id/api/v1/onlyoffice/callback"),
|
||||||
serverURL: cfg.URL,
|
serverURL: cfg.URL,
|
||||||
jwtSecret: cfg.Token,
|
jwtSecret: cfg.Token,
|
||||||
config: cfg,
|
config: cfg,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user