Browse Source

deploy

master
Soleilw 6 months ago
parent
commit
aaec5f7f2b
3 changed files with 4 additions and 4 deletions
  1. 1
    1
      dist/index.html
  2. 1
    1
      dist/umi.1db493dc.js
  3. 2
    2
      src/constants/index.ts

+ 1
- 1
dist/index.html View File

</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script src="/umi.027f338a.js"></script>
<script src="/umi.1db493dc.js"></script>
</body> </body>
</html> </html>

dist/umi.1db493dc.js
File diff suppressed because it is too large
View File


+ 2
- 2
src/constants/index.ts View File

export const common: string = '/common'; export const common: string = '/common';
export type StringOptional = string | undefined; export type StringOptional = string | undefined;
console.log(process.env.NODE_ENV) console.log(process.env.NODE_ENV)
export const Imageprefix: string = process.env.NODE_ENV !== 'production' ? 'https://admin1.jcjob.cn/img/' : 'https://rcsc-test.jcjob.cn/img/'
export const baseUrl: string = process.env.NODE_ENV !== 'production' ? 'https://admin1.jcjob.cn/api' : 'https://rcsc-test.jcjob.cn/api'
export const Imageprefix: string = process.env.NODE_ENV == 'production' ? 'https://admin1.jcjob.cn/img/' : 'https://rcsc-test.jcjob.cn/img/'
export const baseUrl: string = process.env.NODE_ENV == 'production' ? 'https://admin1.jcjob.cn/api' : 'https://rcsc-test.jcjob.cn/api'





Loading…
Cancel
Save