wagtail-opengraph-image-generator
wagtail-opengraph-image-generator copied to clipboard
Hardcode the wagtail link in js
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)),
]