stackframe.co -> stack-auth.com

This commit is contained in:
Stan Wohlwend 2024-04-12 18:29:02 +02:00
parent 673a8fae74
commit 9b87585e0c
8 changed files with 12 additions and 12 deletions

View File

@ -1,9 +1,9 @@
![Stack Logo](/assets/logo.png)
<h3 align="center">
<a href="https://docs.stackframe.co">📘 Documentation</a>
| <a href="https://stackframe-demo.vercel.app/">Demo</a>
| <a href="https://stackframe.co/">Stackframe</a>
<a href="https://docs.stack-auth.com">📘 Documentation</a>
| <a href="https://demo.stack-auth.com/">Demo</a>
| <a href="https://stack-auth.com/">Website</a>
| <a href="https://discord.gg/pD4nyYyKrb">Discord</a>
</h4>
@ -49,7 +49,7 @@ To get started with Stack, you need to [create a Next.js project](https://nextjs
npm install @stackframe/stack
```
For setup, refer to [our documentation](https://docs.stackframe.co).
For setup, refer to [our documentation](https://docs.stack-auth.com).
## Development

View File

@ -1,2 +1,2 @@
STACKFRAME_URL=https://stackframe.co
STACKFRAME_URL=https://stack-auth.com
STACK_HEAD_TAGS=[]

View File

@ -21,7 +21,7 @@ npm install @stackframe/stack
## Setup
1. If you haven't already, [register a new account on Stack](https://app.stackframe.co/handler/signup). Create a project in the dashboard, create a new API key from the left sidebar, and copy the project ID, publishable client key, and secret server key into a new file called `.env.local` in the root of your Next.js project:
1. If you haven't already, [register a new account on Stack](https://app.stack-auth.com/handler/signup). Create a project in the dashboard, create a new API key from the left sidebar, and copy the project ID, publishable client key, and secret server key into a new file called `.env.local` in the root of your Next.js project:
```javascript
NEXT_PUBLIC_STACK_PROJECT_ID=<your-project-id>

View File

@ -99,4 +99,4 @@ export const stackApp = new StackServerApp({
The URL of the handler root. If you want to change the URL of your handler to something other than `/handler`, you can change it here.
Note that you also need to change the `[...stack]/page.tsx` file to the corresponding location. When you want to use your website in a non-local environment, you need to change the handler URL in the Stackframe dashboard as well.
Note that you also need to change the `[...stack]/page.tsx` file to the corresponding location. When you want to use your website in a non-local environment, you need to change the handler URL in the Stack dashboard as well.

View File

@ -13,7 +13,7 @@ const config = {
favicon: "img/favicon.ico",
// Set the production url of your site here
url: "https://docs.stackframe.co",
url: "https://docs.stack-auth.com",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/",
@ -79,7 +79,7 @@ const config = {
},
{
href: process.env.STACKFRAME_URL,
label: "Stackframe",
label: "Stack",
position: "left",
},
{

View File

@ -22,5 +22,5 @@ STACK_ACCESS_TOKEN_EXPIRATION_TIME=# enter the expiration time for the access to
NEXT_PUBLIC_STACK_HEAD_TAGS=[{ "tagName": "script", "attributes": {}, "innerHTML": "// insert head tags here" }]
NEXT_PUBLIC_DOC_URL=https://docs.stackframe.co
NEXT_PUBLIC_DOC_URL=https://docs.stack-auth.com

View File

@ -14,7 +14,7 @@ export const GET = smartRouteHandler({
return {
statusCode: 200,
bodyType: "text",
body: "Welcome to the Stack API endpoint! Please refer to the documentation at https://docs.stackframe.co.",
body: "Welcome to the Stack API endpoint! Please refer to the documentation at https://docs.stack-auth.com.",
};
},
});

View File

@ -113,7 +113,7 @@ export type StackClientAppJson<HasTokenStore extends boolean, ProjectId extends
currentProjectJson: ClientProjectJson,
};
const defaultBaseUrl = "https://app.stackframe.co";
const defaultBaseUrl = "https://app.stack-auth.com";
function createEmptyTokenStore() {
const store = new AsyncStore<TokenObject>();