mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
feat: config.js
This commit is contained in:
26
lib/config.ts
Normal file
26
lib/config.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
const config = {
|
||||
app: {
|
||||
title: "TaxHacker",
|
||||
description: "Your personal AI accountant",
|
||||
version: process.env.npm_package_version || "0.0.1",
|
||||
},
|
||||
upload: {
|
||||
acceptedMimeTypes: "image/*,.pdf,.doc,.docx,.xls,.xlsx",
|
||||
},
|
||||
selfHosted: {
|
||||
isEnabled: process.env.SELF_HOSTED_MODE === "true",
|
||||
redirectUrl: "/self-hosted/redirect",
|
||||
welcomeUrl: "/self-hosted",
|
||||
},
|
||||
auth: {
|
||||
loginUrl: "/enter",
|
||||
disableSignup: process.env.DISABLE_SIGNUP === "true" || process.env.SELF_HOSTED_MODE === "true",
|
||||
},
|
||||
email: {
|
||||
apiKey: process.env.RESEND_API_KEY || "",
|
||||
from: process.env.RESEND_FROM_EMAIL || "",
|
||||
audienceId: process.env.RESEND_AUDIENCE_ID || "",
|
||||
},
|
||||
}
|
||||
|
||||
export default config
|
||||
Reference in New Issue
Block a user