Skip to content

Commit

Permalink
add http
Browse files Browse the repository at this point in the history
  • Loading branch information
bailicangdu committed May 1, 2018
1 parent 390264b commit df299e4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ For some reason,previous interfaces could not be used, it made the project fai

# Demo

[click it](http://cangdu.org:8001/)(Preview with chroe phone mode please)
[click it](http://cangdu.org/elm/)(Preview with chroe phone mode please)

### The mobile can scan the qr code in the below

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ npm run dev

# 效果演示

[查看demo请戳这里](https://cangdu.org/elm)(请用chrome手机模式预览)
[查看demo请戳这里](http://cangdu.org/elm/)(请用chrome手机模式预览)

### 移动端扫描下方二维码

Expand Down
2 changes: 1 addition & 1 deletion elm/static/js/manifest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ if (process.env.NODE_ENV == 'development') {
imgBaseUrl = '/img/';

}else if(process.env.NODE_ENV == 'production'){
baseUrl = 'http://elm.cangdu.org';
imgBaseUrl = 'http://elm.cangdu.org/img/';
baseUrl = '//elm.cangdu.org';
imgBaseUrl = '//elm.cangdu.org/img/';
}

export {
Expand Down

0 comments on commit df299e4

Please sign in to comment.