A simple to-do app focused on tasks that can be completed within a specific time span.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update readme .env example

tobinio 04bd0a1d 7f08d37b

+11 -4
+11 -3
README.md
··· 4 4 5 5 ## .env example 6 6 7 + ### Development 8 + 9 + Create a OAuth client at [google](https://console.cloud.google.com/) 10 + 11 + ```dotenv 12 + GOOGLE_CLIENT_ID=<google_client_id> 13 + GOOGLE_CLIENT_SECRET=<google_client_secret> 14 + ``` 15 + 16 + ### Deployment 17 + 7 18 ```dotenv 8 19 BASE_URL="http://localhost:3000" 9 20 10 21 GOOGLE_CLIENT_ID=<google_client_id> 11 22 GOOGLE_CLIENT_SECRET=<google_client_secret> 12 - GOOGLE_REDIRECT_URL=<google_redirect_url> 13 23 14 24 JWT_SECRET=<jwt_secret> 15 25 JWT_TTL_SECONDS=2592000 // 1Month ··· 19 29 20 30 BETTER_AUTH_SECRET=<secret> 21 31 BETTER_AUTH_URL=http://localhost:3000 22 - 23 - TRUSTED_ORIGINS=https://taskline.tobinio.dev,https://todo.tobinio.dev 24 32 ```
-1
server/utils/auth.ts
··· 5 5 6 6 export const auth = betterAuth({ 7 7 database: new DatabaseSync("./.data/sqlite.db"), 8 - trustedOrigins: [...process.env.TRUSTED_ORIGINS!.split(",")], 9 8 session: { 10 9 expiresIn: 3600 * 24 * 30, // 30 days 11 10 updateAge: 3600 * 24, // 1 day