@farm.js/create-app 0.1.49 → 0.1.51-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2233,6 +2233,8 @@ const config = {
2233
2233
  ],
2234
2234
  secret: process.env.AUTH_SECRET,
2235
2235
  trustHost: true,
2236
+ // @farm.js/authjs serves Auth.js at /api/auth; Auth.js expects /auth otherwise.
2237
+ basePath: "/api/auth",
2236
2238
  };
2237
2239
 
2238
2240
  const handler = (request: Request) => Auth(request, config);