evn.pro.js 482 B

1234567891011121314151617
  1. import $ from 'jquery'
  2. var BASE_URL = ''
  3. var ISERVER_BASE_URL = ''
  4. $.ajaxSettings.async = false;
  5. $.get(window.origin + window.location.pathname + 'config.json', function (data) {
  6. BASE_URL = data.pro.BASE_URL
  7. ISERVER_BASE_URL = data.pro.ISERVER_BASE_URL
  8. })
  9. /**生产地址配置 */
  10. export default {
  11. BASE_URL: BASE_URL,
  12. ISERVER_BASE_URL: ISERVER_BASE_URL
  13. // BASE_URL: "http://10.0.67.88:1111",
  14. // ISERVER_BASE_URL: "http://10.0.67.88:8088/"
  15. }