Darkhorsedamon пре 2 година
родитељ
комит
cd7dbff416
2 измењених фајлова са 5 додато и 6 уклоњено
  1. 2 3
      nuxt.config.js
  2. 3 3
      package.json

+ 2 - 3
nuxt.config.js

@@ -3,7 +3,7 @@
  * @Author: 欧阳承珺
  * @LastEditors: 欧阳承珺
  * @Date: 2022-10-17 11:06:52
- * @LastEditTime: 2022-11-16 15:41:46
+ * @LastEditTime: 2022-11-16 16:42:17
  */
 export default {
   // Global page headers: https://go.nuxtjs.dev/config-head
@@ -57,8 +57,7 @@ export default {
   axios: {
     timeout: 3000,
     baseURL: process.env.BASE_URL,
-    prefix: '/17pdf-backend-core/',
-    // proxy: process.env.NODE_ENV !== 'production'
+    // prefix: '/17pdf-backend-core',
   },
   // proxy: {
   //   '/17pdf-backend-core': { target: 'http://81.68.234.235:8999',}

+ 3 - 3
package.json

@@ -3,9 +3,9 @@
   "version": "1.0.0",
   "private": true,
   "scripts": {
-    "dev": "cross-env BASE_URL=http://81.68.234.235:8999 NODE_ENV=development nuxt",
-    "build": "cross-env BASE_URL=http://139.196.160.101:8082 NODE_ENV=production nuxt build",
-    "start": "cross-env BASE_URL=http://139.196.160.101:8082 NODE_ENV=production nuxt start",
+    "dev": "cross-env BASE_URL=http://81.68.234.235:8999/17pdf-backend-core NODE_ENV=development nuxt",
+    "build": "cross-env BASE_URL=http://139.196.160.101:8082/17pdf-backend-core NODE_ENV=production nuxt build",
+    "start": "cross-env BASE_URL=http://139.196.160.101:8082/17pdf-backend-core NODE_ENV=production nuxt start",
     "generate": "nuxt generate",
     "lint:js": "eslint --ext \".js,.ts,.vue\" --ignore-path .gitignore .",
     "lint:prettier": "prettier --check .",