any recommendations on updating to the latest vers...
# support-questions-legacy
b
any recommendations on updating to the latest versions of these packages? supertokens-auth-react supertokens-node and supertokens-web-js I was quite far behind in versions, and now Im getting the following error when making API calls fetch.js:776 POST http://localhost:3001/auth/session/refresh 404 (Not Found) response
Cannot POST /auth/session/refresh
Then this error when on http://localhost:3000/auth
Copy code
ERROR
style.toLowerCase is not a function
TypeError: style.toLowerCase is not a function
    at Object.hasFontDefined (http://localhost:3000/static/js/bundle.js:82517:26)
Im setting the base path to /auth on the front end and back end App.js
Copy code
SuperTokens.init({
  appInfo: {
    appName: "mywebsitename",
    apiDomain: getApiDomain(),
    websiteDomain: getWebsiteDomain(),
    apiBasePath: "/auth",
    websiteBasePath: "/auth",
  },
Api-server.js
Copy code
supertokens.init({
  framework: "express",
  supertokens: {
    connectionURI: configData.superTokens.connectionURI,
    apiKey: configData.superTokens.apiKey,
  },
  appInfo: {
    appName: "my website",
    apiDomain: configData.apiDomain,
    websiteDomain: configData.websiteDomain,
    apiBasePath: "/auth",
    websiteBasePath: "/auth",
  },
Im pretty sure its caused by the 404
7 Views