proxy-config.js 955 Bytes
Newer Older
1
const config = {
zhanghaozhe committed
2
    home: {
zhanghaozhe committed
3
        development: '/local-api',
zhanghaozhe committed
4
        test: 'http://fast-test.julyedu.com',
zhanghaozhe committed
5
        pre: 'https://fast-pre.julyedu.com',
zhanghaozhe committed
6
        production: 'https://fast.julyedu.com',
zhanghaozhe committed
7 8
        proxy: {}
    },
zhanghaozhe committed
9 10
    'search-api': {
        development: '/search-api',
zhanghaozhe committed
11
        test: 'https://search.julyedu.com',
zhanghaozhe committed
12
        pre: 'https://search.julyedu.com',
zhanghaozhe committed
13 14 15
        production: 'https://search.julyedu.com',
        proxy: {}
    },
zhanghaozhe committed
16 17 18
    'passport-api': {
        development: '/passport-api',
        test: 'http://passport-test.julyedu.com',
zhanghaozhe committed
19
        pre: 'https://passport-pre.julyedu.com',
zhanghaozhe committed
20 21 22
        production: 'http://passport.julyedu.com',
        proxy: {}
    },
23 24 25
    'base-api': {
        development: '/base-api',
        test: 'http://api-test.julyedu.com',
zhanghaozhe committed
26
        pre: 'https://api-pre.julyedu.com',
27 28 29 30
        production: 'https://api.julyedu.com',
        proxy: {
            secure: false
        }
zhanghaozhe committed
31
    },
zhanghaozhe committed
32 33 34
}

module.exports = config