mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:01:09 +02:00
fix: replace all manacore.app URLs with mana.how
The production domain is mana.how, not manacore.app. Updated all references across shared-branding APP_URLS, app configs, landing pages, docs, help content, calendar iCal UIDs, and deploy scripts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2d7ca7e387
commit
2c26fce736
34 changed files with 100 additions and 103 deletions
|
|
@ -4,7 +4,7 @@ import tailwind from '@astrojs/tailwind';
|
|||
import sitemap from '@astrojs/sitemap';
|
||||
|
||||
export default defineConfig({
|
||||
site: 'https://docs.manacore.app',
|
||||
site: 'https://docs.mana.how',
|
||||
integrations: [
|
||||
starlight({
|
||||
title: 'Manacore Docs',
|
||||
|
|
@ -90,7 +90,7 @@ export default defineConfig({
|
|||
tag: 'meta',
|
||||
attrs: {
|
||||
property: 'og:image',
|
||||
content: 'https://docs.manacore.app/og-image.png',
|
||||
content: 'https://docs.mana.how/og-image.png',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ This section contains API documentation for all Manacore backend services.
|
|||
All API endpoints (except public ones) require authentication via JWT bearer token:
|
||||
|
||||
```bash
|
||||
curl -X GET https://api.manacore.app/v1/users/me \
|
||||
curl -X GET https://api.mana.how/v1/users/me \
|
||||
-H "Authorization: Bearer <your-token>"
|
||||
```
|
||||
|
||||
|
|
@ -20,7 +20,7 @@ curl -X GET https://api.manacore.app/v1/users/me \
|
|||
|
||||
```bash
|
||||
# Login
|
||||
curl -X POST https://api.manacore.app/v1/auth/login \
|
||||
curl -X POST https://api.mana.how/v1/auth/login \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"email": "user@example.com", "password": "password"}'
|
||||
|
||||
|
|
@ -36,10 +36,10 @@ curl -X POST https://api.manacore.app/v1/auth/login \
|
|||
|
||||
| Service | Development | Production |
|
||||
|---------|-------------|------------|
|
||||
| Auth | `http://localhost:3001` | `https://auth.manacore.app` |
|
||||
| Chat | `http://localhost:3002` | `https://chat-api.manacore.app` |
|
||||
| Picture | `http://localhost:3006` | `https://picture-api.manacore.app` |
|
||||
| Zitare | `http://localhost:3007` | `https://zitare-api.manacore.app` |
|
||||
| Auth | `http://localhost:3001` | `https://auth.mana.how` |
|
||||
| Chat | `http://localhost:3002` | `https://chat-api.mana.how` |
|
||||
| Picture | `http://localhost:3006` | `https://picture-api.mana.how` |
|
||||
| Zitare | `http://localhost:3007` | `https://zitare-api.mana.how` |
|
||||
|
||||
## Common Response Format
|
||||
|
||||
|
|
|
|||
|
|
@ -13,12 +13,12 @@ All landing pages and static sites are deployed to **Cloudflare Pages** using Di
|
|||
|
||||
| Project | Package | Cloudflare Project | URL |
|
||||
|---------|---------|-------------------|-----|
|
||||
| Chat | `@chat/landing` | `chat-landing` | chat.manacore.app |
|
||||
| Picture | `@picture/landing` | `picture-landing` | picture.manacore.app |
|
||||
| Manacore | `@manacore/landing` | `manacore-landing` | manacore.app |
|
||||
| ManaDeck | `@manadeck/landing` | `manadeck-landing` | manadeck.manacore.app |
|
||||
| Zitare | `@zitare/landing` | `zitare-landing` | zitare.manacore.app |
|
||||
| Docs | `@manacore/docs` | `manacore-docs` | docs.manacore.app |
|
||||
| Chat | `@chat/landing` | `chat-landing` | chat.mana.how |
|
||||
| Picture | `@picture/landing` | `picture-landing` | picture.mana.how |
|
||||
| Manacore | `@manacore/landing` | `manacore-landing` | mana.how |
|
||||
| ManaDeck | `@manadeck/landing` | `manadeck-landing` | manadeck.mana.how |
|
||||
| Zitare | `@zitare/landing` | `zitare-landing` | zitare.mana.how |
|
||||
| Docs | `@manacore/docs` | `manacore-docs` | docs.mana.how |
|
||||
|
||||
## Quick Deploy
|
||||
|
||||
|
|
@ -102,11 +102,11 @@ Each project has a deploy script in root `package.json`:
|
|||
|
||||
```bash
|
||||
# Via CLI
|
||||
npx wrangler pages project add-domain chat-landing chat.manacore.app
|
||||
npx wrangler pages project add-domain chat-landing chat.mana.how
|
||||
|
||||
# Or via Cloudflare Dashboard:
|
||||
# 1. Go to Pages > chat-landing > Custom domains
|
||||
# 2. Add domain: chat.manacore.app
|
||||
# 2. Add domain: chat.mana.how
|
||||
# 3. Configure DNS (automatic if using Cloudflare DNS)
|
||||
```
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ Set in Cloudflare Dashboard or via `wrangler.toml`:
|
|||
|
||||
```toml
|
||||
[vars]
|
||||
PUBLIC_API_URL = "https://api.manacore.app"
|
||||
PUBLIC_API_URL = "https://api.mana.how"
|
||||
```
|
||||
|
||||
### Via Dashboard
|
||||
|
|
@ -208,7 +208,7 @@ npx wrangler pages deployment promote <deployment-id> --project-name=chat-landin
|
|||
6. **Add custom domain** (optional)
|
||||
|
||||
```bash
|
||||
npx wrangler pages project add-domain {project}-landing {project}.manacore.app
|
||||
npx wrangler pages project add-domain {project}-landing {project}.mana.how
|
||||
```
|
||||
</Steps>
|
||||
|
||||
|
|
@ -237,6 +237,6 @@ pnpm --filter @project/landing build
|
|||
<Aside type="tip">
|
||||
Use `dig` to check DNS propagation:
|
||||
```bash
|
||||
dig chat.manacore.app
|
||||
dig chat.mana.how
|
||||
```
|
||||
</Aside>
|
||||
|
|
|
|||
|
|
@ -104,8 +104,8 @@ git pull
|
|||
| Environment | Purpose | URL Pattern |
|
||||
|-------------|---------|-------------|
|
||||
| **Development** | Local testing | `localhost:*` |
|
||||
| **Staging** | Pre-production testing | `staging.*.manacore.app` |
|
||||
| **Production** | Live users | `*.manacore.app` |
|
||||
| **Staging** | Pre-production testing | `staging.*.mana.how` |
|
||||
| **Production** | Live users | `*.mana.how` |
|
||||
|
||||
## CI/CD
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue