Skip to content

Commit 8b2990f

Browse files
zhengkunwang223wanghe-fit2cloud
authored andcommitted
feat: change 1panel v1 docs url (#8993)
1 parent 37b5cd7 commit 8b2990f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmd/server/nginx_conf/proxy.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ location ^~ /test {
77
proxy_set_header Upgrade $http_upgrade;
88
proxy_set_header Connection $http_connection;
99
proxy_set_header X-Forwarded-Proto $scheme;
10+
proxy_set_header X-Forwarded-Port $server_port;
1011
proxy_http_version 1.1;
1112
add_header X-Cache $upstream_cache_status;
1213
add_header Cache-Control no-cache;

frontend/src/store/modules/global.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const GlobalStore = defineStore({
4949
state.themeConfig.theme === 'dark' ||
5050
(state.themeConfig.theme === 'auto' && window.matchMedia('(prefers-color-scheme: dark)').matches),
5151
isDarkGoldTheme: (state) => state.themeConfig.primary === '#F0BE96' && state.isProductPro,
52-
docsUrl: (state) => (state.isIntl ? 'https://docs.1panel.pro' : 'https://1panel.cn/docs'),
52+
docsUrl: (state) => (state.isIntl ? 'https://docs.1panel.pro' : 'https://1panel.cn/docs/v1'),
5353
},
5454
actions: {
5555
setOpenMenuTabs(openMenuTabs: boolean) {

0 commit comments

Comments
 (0)