- Issue created by @michael.roosz
- πΊπΈUnited States kevinquillen
Is there a JS constant to get that?
-
kevinquillen β
committed 57940109 on 1.0.x
Issue #3342649 by kevinquillen: openai_ckeditor js uses wrong api base...
-
kevinquillen β
committed 57940109 on 1.0.x
- πΊπΈUnited States kevinquillen
Since the module relies on core/ckeditor5 which relies on core/drupalSettings, this should fix the issue. Please try that out and let me know.
-
kevinquillen β
committed 06e18c69 on 1.0.x
Issue #3342649 by kevinquillen: openai_ckeditor js uses wrong api base...
-
kevinquillen β
committed 06e18c69 on 1.0.x
-
kevinquillen β
committed 81891793 on 1.0.x
Issue #3342649 by kevinquillen: openai_ckeditor js uses wrong api base...
-
kevinquillen β
committed 81891793 on 1.0.x
- Status changed to Fixed
almost 2 years ago 3:15pm 22 February 2023 - πΊπΈUnited States kevinquillen
This has now been committed to the dev branch:
fetch(drupalSettings.path.baseUrl + 'api/openai-ckeditor/generate-completion',
When the baseUrl is not '/', it should still correctly resolve to the route. Please re-open with more details if you have other issues.
Automatically closed - issue fixed for 2 weeks with no activity.