Directus extensions endpoints not working
-
I did exactly like it was told at https://forum.cloudron.io/topic/9859/custom-api-endpoint/12?_=1739735839051 But the response is still "{"errors":[{"message":"Route /helloworld doesn't exist.","extensions":{"path":"/helloworld","code":"ROUTE_NOT_FOUND"}}]}"
-
@cartpex was just looking into this. How did you get this info? https://docs.directus.io/extensions/endpoints.html has no information on the directory structure
@joseph i firstly created a new template extension folder then run "npm run build" locally and uploaded the package.json file and the folder "dist" in my manually created folder named "directus-extension-helloworld" and goes at my endpoint "https://directus.mydomain.com/helloworld" there it gives the expected response.