mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-03 13:15:17 +08:00
feat: change 1panel v1 docs url (#8993)
This commit is contained in:
parent
edefdce3ff
commit
bdeb842939
2 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ location ^~ /test {
|
|||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $http_connection;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Port $server_port;
|
||||
proxy_http_version 1.1;
|
||||
add_header X-Cache $upstream_cache_status;
|
||||
add_header Cache-Control no-cache;
|
||||
|
|
|
@ -49,7 +49,7 @@ const GlobalStore = defineStore({
|
|||
state.themeConfig.theme === 'dark' ||
|
||||
(state.themeConfig.theme === 'auto' && window.matchMedia('(prefers-color-scheme: dark)').matches),
|
||||
isDarkGoldTheme: (state) => state.themeConfig.primary === '#F0BE96' && state.isProductPro,
|
||||
docsUrl: (state) => (state.isIntl ? 'https://docs.1panel.pro' : 'https://1panel.cn/docs'),
|
||||
docsUrl: (state) => (state.isIntl ? 'https://docs.1panel.pro' : 'https://1panel.cn/docs/v1'),
|
||||
},
|
||||
actions: {
|
||||
setOpenMenuTabs(openMenuTabs: boolean) {
|
||||
|
|
Loading…
Add table
Reference in a new issue