diff --git a/.env.development b/.env.development index 44ad886..15f2138 100644 --- a/.env.development +++ b/.env.development @@ -8,3 +8,5 @@ VITE_ROUTER_HISTORY = 'hash' ## 开发环境地址前缀(一般 '/','./' 都可以) VITE_PUBLIC_PATH = '/' + +VITE_BACKEND_URL="http://localhost:3000" \ No newline at end of file diff --git a/.env.production b/.env.production index 44ad886..4f9be39 100644 --- a/.env.production +++ b/.env.production @@ -8,3 +8,5 @@ VITE_ROUTER_HISTORY = 'hash' ## 开发环境地址前缀(一般 '/','./' 都可以) VITE_PUBLIC_PATH = '/' + +VITE_BACKEND_URL="https://api.stylishreader.com" \ No newline at end of file diff --git a/src/views/FlashCard.vue b/src/views/FlashCard.vue index 8428324..44c59c3 100644 --- a/src/views/FlashCard.vue +++ b/src/views/FlashCard.vue @@ -45,6 +45,7 @@ +