Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Zipstack/unstract into feat/UN-1451…
Browse files Browse the repository at this point in the history
…-pdm-lock-automation
  • Loading branch information
kirtimanmishrazipstack committed Jul 17, 2024
2 parents 8a3f1f8 + f4a01d4 commit 407cae8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions backend/backend/public_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,19 @@

try:
import pluggable_apps.platform_admin.urls # noqa # pylint: disable=unused-import
import pluggable_apps.public_shares_share_controller.urls # noqa # pylint: disable=unused-import

urlpatterns += [
path(f"{path_prefix}/", include("pluggable_apps.platform_admin.urls")),
]
except ImportError:
pass

try:
import pluggable_apps.public_shares.share_controller.urls # noqa # pylint: disable=unused-import

share_path_prefix = settings.PUBLIC_PATH_PREFIX

urlpatterns += [
path(f"{path_prefix}/", include("pluggable_apps.platform_admin.urls")),
# Public Sharing
path(
f"{share_path_prefix}/",
Expand Down

0 comments on commit 407cae8

Please sign in to comment.