change ACCESS_KEY header to ACCESS-KEY, add test env file

This commit is contained in:
RockYang
2023-04-20 18:13:05 +08:00
parent 296d83c3a1
commit 00db78b446
5 changed files with 8 additions and 7 deletions

View File

@@ -1,2 +1,3 @@
VUE_APP_API_HOST=https://chat-plus.net
VUE_APP_WS_HOST=wss://chat-plus.net
NODE_ENV = 'production'
VUE_APP_API_HOST=https://www.r9it.com
VUE_APP_WS_HOST=wss://www.r9it.com

View File

@@ -569,7 +569,7 @@ export default defineComponent({
position: absolute;
bottom: 0
display: flex;
justify-content: start;
justify-content: flex-start;
align-items: center;
flex-flow: column;

View File

@@ -888,7 +888,7 @@ export default defineComponent({
position: absolute;
bottom: 0
display: flex;
justify-content: start;
justify-content: flex-start;
align-items: center;
flex-flow: column;

View File

@@ -16,7 +16,7 @@ module.exports = defineConfig({
]
},
publicPath: process.env.NODE_ENV === 'production' ? '/chat' : '/',
publicPath: '/chat',
outputDir: '../dist',
crossorigin: "anonymous",
devServer: {