-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.umirc.ts
109 lines (109 loc) · 2.74 KB
/
.umirc.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
import { defineConfig } from "umi";
// base: './',
// publicPath: './',
export default defineConfig({
outputPath: './dist',
hash: true,
history: {
type: 'hash',
},
routes: [
{
path: '/login',
component: '@/pages/login/index',
layout: false
},
{
path: '/tklogin',
component: '@/pages/login/tklogin',
layout: false
},
{
wrappers: ['@/wrappers/auth'],
path: "/conversation/:conversationType",
component: "@/pages/conversation/index"
},
{
wrappers: ['@/wrappers/auth'],
path: "/conversation/:conversationType/:conversationId",
component: "@/pages/conversation/index"
},
{
wrappers: ['@/wrappers/auth'],
path: "/rrapp/:datasetId/:id",
component: "@/pages/rrapp/index"
},
{
wrappers: ['@/wrappers/auth'],
path: "/storage",
component: "@/pages/storage/index"
},
{
wrappers: ['@/wrappers/auth'],
path: "/containers",
component: "@/pages/containers/index"
},
{
wrappers: ['@/wrappers/auth'],
path: "/discovery",
component: "@/pages/discovery/index"
},
{
wrappers: ['@/wrappers/auth'],
path: "/art",
component: "@/pages/art/index"
},
{
path: '/ghost',
component: '@/layouts/empty',
layout: false,
routes: [
{
path: 'forbid',
component: '@/pages/forbid/index',
},
]
},
{
path: '/',
component: '@/pages/settings/index',
wrappers: ['@/wrappers/auth'],
routes: [
{
path: "/settings/account",
component: "@/pages/settings/account/index",
},
{
path: "/settings/upgrade",
component: "@/pages/settings/upgrade/index",
},
{
path: "/settings/helper",
component: "@/pages/settings/helper/index",
},
{
path: "/settings/feedback",
component: "@/pages/settings/feedback/index",
},
{
path: "/settings/about",
component: "@/pages/settings/about/index",
},
{
path: "/settings/customerservice",
component: "@/pages/settings/customer-service/index",
},
],
},
],
npmClient: 'pnpm',
esbuildMinifyIIFE: true,
links: [
{ rel: 'icon', href: '/public/favicon.ico' },
],
title: '软软AI-ChatGPT、Stable-diffusion、智能对话、AIGC',
metas: [
{ name: 'keywords', content: '软软AI, ChatGPT, 文心一言, 通义千问, stable diffusion, AIGC, AI, huggingface, civitai' },
{ name: 'description', content: '软软AI,智能 AI 体验馆。ChatGPT、Stable-diffusion、智能对话、AIGC、提示词分享、模型分享。' },
],
});