Vytautas Asmantavicius
Vytautas Asmantavicius
Had the exact same problem. Try [this](https://stackoverflow.com/questions/10918063/how-to-make-a-jquery-plugin-loadable-with-requirejs).
Is this being worked on?
> > Hello! I would like to know if it's possible to implement a prompt queue. For example, I have about 20 prompts that need to generate 30 images. Instead...
> > Is there tutorial on this somewhere? > > https://youtu.be/E_R7tnfXKCM?t=56 Thank you very much bro 😁
> [@vytaux](https://github.com/vytaux) Is this happening on all pages or just within the Admin Panel or on a specific theme? It's probably just an old custom theme - see this in...
@ColdHeat Ok, I'm testing on a fresh install, with ctfd/ctfd:latest on docker - still am getting duplicated subpath on default theme. All js requests on admin 404s, so can't update...
Ok well if I remove that line then /admin/challenges/new -> Create doesn't use ANY prefix. So removing the fetch line makes admin work, but breaks challenges/new - and adding it...
Probably what's happening is for example here domain already has /ctfd prefix: https://github.com/CTFd/CTFd/blob/945aa5472e3e5235a2ef608472b258f5fee750fe/CTFd/themes/admin/assets/js/compat/api.js#L804 and then in fetch, it adds urlRoot /ctfd prefix again: https://github.com/CTFd/CTFd/blob/945aa5472e3e5235a2ef608472b258f5fee750fe/CTFd/themes/admin/assets/js/compat/fetch.js#L14 My temporary workaround is this. Seems...