Loading conf/sopds.conf +1 −1 Original line number Diff line number Diff line Loading @@ -181,7 +181,7 @@ bind_address = 0.0.0.0 # Если auth = yes, то встроенный httpd-сервер будет выполнять Basic-авторизацию на основании строки auth_accounts # по умолчнию auth = no auth = no auth = yes # Строка accounts должна содержать разделенные пробелам пары user:password # на основании данных этого параметра при включенном auth = yes будет происходить авторизация на встроенном Loading py/sopdswrap.py +2 −1 Original line number Diff line number Diff line Loading @@ -145,6 +145,7 @@ class baseWrapper(): self.add_response_body(self.template.document_entry_acq_book_link_alternate%data) data['id']=91 self.add_response_body(self.template.document_entry_acq_book_link%data) if data['format']!='epub': data['id']=92 data['format']=data['format']+'+zip' self.add_response_body(self.template.document_entry_acq_book_link%data) Loading Loading
conf/sopds.conf +1 −1 Original line number Diff line number Diff line Loading @@ -181,7 +181,7 @@ bind_address = 0.0.0.0 # Если auth = yes, то встроенный httpd-сервер будет выполнять Basic-авторизацию на основании строки auth_accounts # по умолчнию auth = no auth = no auth = yes # Строка accounts должна содержать разделенные пробелам пары user:password # на основании данных этого параметра при включенном auth = yes будет происходить авторизация на встроенном Loading
py/sopdswrap.py +2 −1 Original line number Diff line number Diff line Loading @@ -145,6 +145,7 @@ class baseWrapper(): self.add_response_body(self.template.document_entry_acq_book_link_alternate%data) data['id']=91 self.add_response_body(self.template.document_entry_acq_book_link%data) if data['format']!='epub': data['id']=92 data['format']=data['format']+'+zip' self.add_response_body(self.template.document_entry_acq_book_link%data) Loading