[solved] __REDWOOD__API_PROXY_PATH β†’ RWJS_API_GRAPHQL_URL

I was using __REDWOOD__API_PROXY_PATH to point at my own .api/functions for a custom auth solution.

      axios
        .post(`${__REDWOOD__API_PROXY_PATH}/jwtSignup`, {

After the change RWJS_API_GRAPHQL_URL the code looks like this

      axios
        .post(RWJS_API_GRAPHQL_URL.replace('graphql','jwtSignup'))

@ajoslin103 there’s a fix for this coming in the next release:

1 Like