Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Hardcode the wagtail link in js #7

Open
RustamSultanov opened this issue May 17, 2020 · 0 comments
Open

Hardcode the wagtail link in js #7

RustamSultanov opened this issue May 17, 2020 · 0 comments
Assignees

Comments

@RustamSultanov
Copy link

Hello. I try to generate OpenGraph but i have problem with route. In this script url /admin/wagtail_opengraph_image_generator/preview/
https://github.com/candylabshq/wagtail-opengraph-image-generator/blob/723378ef79f63b18c64558ae81019f887f508678/wagtail_opengraph_image_generator/static/wagtail_opengraph_image_generator/scripts.js

It doesnt work with my project because my url conf look like this

urlpatterns = [
    path('admin/', admin.site.urls),
    re_path(r'^cms/', include(wagtailadmin_urls)),
    re_path(r'^documents/', include(wagtaildocs_urls)),
    re_path(r'^pages/', include(wagtail_urls)),
]
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants