@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.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/templates/_renderers/preact/package.json +3 -3
- package/templates/_renderers/solid/package.json +3 -3
- package/templates/_renderers/svelte/package.json +3 -3
- package/templates/_renderers/vue/package.json +3 -3
- package/templates/auth/package.json +4 -4
- package/templates/basic/package.json +3 -3
- package/templates/better-auth/package.json +4 -4
- package/templates/react-compiler/package.json +3 -3
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);
|