Replies: 3 comments 7 replies
-
Odd! I think it's how the extension is loaded into the docker container, rather than the extension itself. I just copy pasted your code into my extensions folder, and it works as expected: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Just to update this thread in case someone else stumbles across it... I was having a similar issue recently and it turns out the folder endpoints is no longer being used (or the syntax has changed and there's no documentation on this). You now need to create a folder
I hope this helps someone. I was going mad after updating directus trying to figure out why my custom endpoints are not loading anymore. P.S. If you're having issues with the |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am not able to load extensions to Directus v9.6.0.
I have an extension called 'example' in
extensions/endpoints/example/index.js
GET /example
return this errorI am currently using Docker (+ C ompose) with a mounted volume:
Am I missing something ?
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions