Hello I have a standard rails app with some endpoints that serve json format, ad I have the contraint of having them with api-dev, this works great locally but unfortunatly does not play along very well with a mobile client that needs to fetch it through the network but if I try to point to specific ipaddress of course it won't load because the constraint requires a subdomain (api-dev),
Is it possible in rails to have the constraint and by default allow the endpoint to be hit?. BTW I also have a webclient in the same project and it has a subdomain constraint of dashboard.
Aucun commentaire:
Enregistrer un commentaire