renamed domains & handlers to domains

This commit is contained in:
Zai Shi 2025-01-21 14:57:09 -08:00
parent 3a73338a10
commit 30cd64cca4
4 changed files with 4 additions and 4 deletions

View File

@ -230,7 +230,7 @@ export default function PageClient() {
return (
<PageLayout title="Domains and Handler">
<PageLayout title="Domains">
<SettingCard
title="Trusted domains"
description="Features that will redirect to your app, such as SSO and e-mail verification, will refuse to redirect to domains other than the ones listed here. Please make sure that you trust all domains listed here, as they can be used to access user data."

View File

@ -1,7 +1,7 @@
import PageClient from "./page-client";
export const metadata = {
title: "Domains & Handlers",
title: "Domains",
};
export default function Page() {

View File

@ -139,7 +139,7 @@ const navigationItems: (Label | Item | Hidden)[] = [
type: 'label'
},
{
name: "Domains & Handlers",
name: "Domains",
href: "/domains",
regex: /^\/projects\/[^\/]+\/domains$/,
icon: LinkIcon,

View File

@ -5,7 +5,7 @@ subtitle: Steps to prepare Stack for production use
Stack makes development easy with various default settings, but these settings need to be optimized for security and user experience when moving to production. Here's a checklist of things you need to do before switching to production mode:
### Domains and handlers
### Domains
By default, Stack allows all localhost paths as valid callback URLs. This is convenient for development but poses a security risk in production because attackers could use their own domains as callback URLs to intercept sensitive information. Therefore, in production, Stack must know your domain (e.g., `https://your-website.com`) and only allow callbacks from those domains.