Skip to content

Hardcode the wagtail link in js #7

Description

@RustamSultanov

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions