wagtail-opengraph-image-generator icon indicating copy to clipboard operation
wagtail-opengraph-image-generator copied to clipboard

Hardcode the wagtail link in js

Open RustamSultanov opened this issue 4 years ago • 0 comments

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)),
]

RustamSultanov avatar May 17 '20 10:05 RustamSultanov