@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 +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.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);
|