API Plugin Prefix
Hey all, for some reason my prefix isn't applying on the data paths
This is my env file:
This is the line from the ServerOptions:
This is the user route in the
routes
folder:
So this means that it should be accessible on 127.0.0.1:4000/v1/hello-world
or localhost:4000/v1/hello-world
correct? I'm only getting a response from 127.0.0.1:4000/hello-world
and localhost:4000/hello-world
I've read through the docs and am probably missing something simple, just been overlooking it I guess or I don't understand enough about the implementation, maybe this doesn't matter unless the environment is set up with to use that routeSolution:Jump to solution
disregard, it seems that it was due to something local, I reinstalled all the node_modules and the prefix worked correctly.
3 Replies