App Settings
Learn what each setting in your app_settings.ts
file does and how to configure them.
This file is located in src/app_settings.ts
Properties
General app settings
The name of your app
Example: shipit
The description of your app
Example: my awesome app
The domain of your app
default: process.env.NODE_ENV === 'development' ? 'http://localhost:3000' : 'https://yourprodurl';
The language of your app, used for the HTML lang attribute
Example: en
Routes settings
An array containing all the routes of your app and the visibility of each one. Used in the header,footer and to generate the sitemap.
An array containing all the routes that will show on the user dropdown menu.
Auth settings
Where to redirect the user after signing in
Default: /profile
Where to redirect the user if they try to access a route that requires authentication without being authenticated
Default: /signin
Where to redirect the user if they try to access a route that requires a subscription without being subscribed
Default: /pricing
SEO settings
The title that will be used for meta tags
Example: My awesome app
The description that will be used for meta tags
Example: My awesome app description
The image that will be used for meta tag.
keep this null if you prefer to use the dynamic og:image generated by the app in /api/og/route.tsx
Example: https://myawesomeapp.com/image.jpg
Default: null
Blog settings
If false, the blog won’t be accessible by users
Default: true
The default storage path for blog posts
Default: src/blog_content/posts
The title of the blog
Example: My blog
The description of the blog
Example: My blog description
Store settings
If you never used Stripe, you will find useful the Payments Guide
The URL to redirect the user to after they suscribe to a plan
Default: /dashboard
The URL to redirect purchase a product that is one-time paid, not a subscription
Default: /