mirror of https://github.com/sundowndev/http.git
31 lines
503 B
JavaScript
31 lines
503 B
JavaScript
const { resolve } = require('path')
|
|
|
|
module.exports = {
|
|
rootDir: resolve(__dirname, '../..'),
|
|
buildDir: resolve(__dirname, '.nuxt'),
|
|
srcDir: __dirname,
|
|
render: {
|
|
resourceHints: false
|
|
},
|
|
modules: [
|
|
require('../..')
|
|
],
|
|
serverMiddleware: [
|
|
'~/api.js'
|
|
],
|
|
http: {
|
|
prefix: '/test_api',
|
|
serverTimeout: 10000,
|
|
clientTimeout: 25000,
|
|
proxy: true,
|
|
retry: 1
|
|
},
|
|
build: {
|
|
terser: false
|
|
},
|
|
plugins: [
|
|
'~/plugins/instance',
|
|
'~/plugins/http'
|
|
]
|
|
}
|