Will this workaround maybe work on the server?
This commit is contained in:
@@ -6,6 +6,7 @@ services:
|
||||
image: flask-server
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 80:80
|
||||
volumes: # when pushing to server, remove the first dot here in front of /mnt
|
||||
- /mnt/ssd/ds_ftp/classla_OS2022:/usr/src/app/classla_OS2022
|
||||
- ./swagger_server/classla/classla_resources:/root/classla_resources
|
||||
|
||||
@@ -16,8 +16,8 @@ import traceback
|
||||
tika_server = "http://tika2:9999/tika"
|
||||
|
||||
# endpoint below to be used only for development purposes (don't need to run docker)
|
||||
# tika_server = "http://rsdo.lhrs.feri.um.si:9998/tika"
|
||||
|
||||
tika_server = "http://rsdo.lhrs.feri.um.si:9998/tika"
|
||||
# TEMPORARY
|
||||
|
||||
def datoteka_v_besedilo_post(file=None): # noqa: E501
|
||||
"""Pretvori datoteko formata pdf, doc, docx, ppt, xls,... vraca besedilo
|
||||
|
||||
Reference in New Issue
Block a user