|
@@ -3,9 +3,11 @@
|
|
* @Author: 欧阳承珺
|
|
* @Author: 欧阳承珺
|
|
* @LastEditors: 欧阳承珺
|
|
* @LastEditors: 欧阳承珺
|
|
* @Date: 2022-10-17 11:06:52
|
|
* @Date: 2022-10-17 11:06:52
|
|
- * @LastEditTime: 2022-11-01 16:50:24
|
|
|
|
|
|
+ * @LastEditTime: 2022-11-09 13:33:17
|
|
*/
|
|
*/
|
|
export default {
|
|
export default {
|
|
|
|
+ dev: process.env.NODE_ENV !== 'production',
|
|
|
|
+
|
|
// Global page headers: https://go.nuxtjs.dev/config-head
|
|
// Global page headers: https://go.nuxtjs.dev/config-head
|
|
head: {
|
|
head: {
|
|
title: '17PDF',
|
|
title: '17PDF',
|
|
@@ -20,7 +22,7 @@ export default {
|
|
],
|
|
],
|
|
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
|
|
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
// Global CSS: https://go.nuxtjs.dev/config-css
|
|
// Global CSS: https://go.nuxtjs.dev/config-css
|
|
css: [
|
|
css: [
|
|
'@/assets/main.scss',
|
|
'@/assets/main.scss',
|
|
@@ -55,7 +57,7 @@ export default {
|
|
axios: {
|
|
axios: {
|
|
timeout: 3000,
|
|
timeout: 3000,
|
|
prefix: '/17pdf-backend-core/',
|
|
prefix: '/17pdf-backend-core/',
|
|
- proxy: true
|
|
|
|
|
|
+ proxy: !!dev
|
|
},
|
|
},
|
|
proxy: {
|
|
proxy: {
|
|
'/17pdf-backend-core': { target: 'http://81.68.234.235:8999',}
|
|
'/17pdf-backend-core': { target: 'http://81.68.234.235:8999',}
|