@farm.js/create-app 0.1.50 → 0.1.51-beta.1

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.mjs CHANGED
@@ -2226,6 +2226,8 @@ const config = {
2226
2226
  ],
2227
2227
  secret: process.env.AUTH_SECRET,
2228
2228
  trustHost: true,
2229
+ // @farm.js/authjs serves Auth.js at /api/auth; Auth.js expects /auth otherwise.
2230
+ basePath: "/api/auth",
2229
2231
  };
2230
2232
 
2231
2233
  const handler = (request: Request) => Auth(request, config);