diff --git a/.env b/.env index 68175fb..818cb46 100644 --- a/.env +++ b/.env @@ -1,2 +1,4 @@ VUE_APP_PORT='8800' -VUE_APP_TARGET_API='http://47.109.22.178:8401' \ No newline at end of file +VUE_APP_TARGET_API='http://47.109.22.178:8401' +VUE_APP_IMAGES_TARGET='http://www.octoveau.cn/images' + diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a267390..1b600f5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: deploy sso-admin-portal 🚀 on: push: branches: - - main + - release jobs: build-sso-admin-portal-deploy: runs-on: ubuntu-latest diff --git a/.prettierrc b/.prettierrc index 1cddcb0..ff164cb 100644 --- a/.prettierrc +++ b/.prettierrc @@ -7,6 +7,5 @@ "trailingComma": "es5", "htmlWhitespaceSensitivity": "ignore", "endOfLine": "auto", - "proseWrap": "never" - + "proseWrap": "never", } diff --git a/bin/default.conf b/bin/default.conf index b50a393..bba0fa7 100644 --- a/bin/default.conf +++ b/bin/default.conf @@ -5,6 +5,9 @@ server { error_log /var/log/nginx/error.log error; root /usr/share/nginx/html; index index.html; + location /sso-login/openapi/ { + proxy_pass http://47.109.22.178:8401/openapi/; + } location /sso-login/api/ { proxy_pass http://47.109.22.178:8401/api/; } diff --git a/public/favicon.ico b/public/favicon.ico index 952c106..8d6b6b7 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/index.html b/public/index.html index 1812419..5ef74ca 100644 --- a/public/index.html +++ b/public/index.html @@ -12,7 +12,7 @@ We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.
- + -->