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

module.exports = config