Skip to content

Commit

Permalink
Update URLs and environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyunchong committed Nov 2, 2024
1 parent d436337 commit d3b9380
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ENV = 'development'


# VUE_APP_BASE_URL = 'http://101.34.7.82:5011'
# VUE_APP_CURRENT_URL = 'http://101.34.7.82/'
# VUE_APP_BASE_URL = 'http://124.221.134.143:5011'
# VUE_APP_CURRENT_URL = 'http://124.221.134.143/'

VUE_APP_BASE_URL = 'https://localhost:5011/'
VUE_APP_CURRENT_URL = 'http://localhost:8081/'
4 changes: 2 additions & 2 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


VUE_APP_BASE_URL = 'http://101.34.7.82:5011/'
VUE_APP_CURRENT_URL = 'http://101.34.7.82/vvlog/'
VUE_APP_BASE_URL = 'http://124.221.134.143:5011/'
VUE_APP_CURRENT_URL = 'http://124.221.134.143/vvlog/'
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

### 文档地址

- [http://101.34.7.82/](http://101.34.7.82/)
- [http://124.221.134.143/](http://124.221.134.143/)

### 线上 Demo

- [http://101.34.7.82/vvlog](http://101.34.7.82/vvlog)
- [http://124.221.134.143/vvlog](http://124.221.134.143/vvlog)

## 快速上手

Expand Down
4 changes: 2 additions & 2 deletions src/config/base-layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
<el-icon> <Bell /> </el-icon>消息
</router-link>
</el-menu-item>
<el-menu-item index="http://101.34.7.82/cms/" class="block">
<a href="http://101.34.7.82/cms/" target="_blank">
<el-menu-item index="http://124.221.134.143/cms/" class="block">
<a href="http://124.221.134.143/cms/" target="_blank">
<el-icon> <Van /> </el-icon>CMS
</a>
</el-menu-item>
Expand Down
4 changes: 2 additions & 2 deletions src/view/article/article-detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,8 @@ export default {
return
}
},
cdn: 'http://101.34.7.82/vditor',
lazyLoadImage: 'http://101.34.7.82/vditor/dist/images/img-loading.svg',
cdn: 'http://124.221.134.143/vditor',
lazyLoadImage: 'http://124.221.134.143/vditor/dist/images/img-loading.svg',
})
Vditor.mediaRender()
},
Expand Down
2 changes: 1 addition & 1 deletion src/view/article/editor-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default {
typewriterMode: true,
hint: {},
mode: 'sv', //ir 即时渲染,sv 分屏预览 wysiwyg 所见即所得
cdn: 'http://101.34.7.82/vditor',
cdn: 'http://124.221.134.143/vditor',
preview: {
delay: 100,
show: true,
Expand Down
16 changes: 8 additions & 8 deletions src/view/layout/base-layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@
<el-icon> <Bell /> </el-icon>消息
</router-link>
</el-menu-item>
<el-menu-item index="http://101.34.7.82/cms/" class="block">
<a href="http://101.34.7.82/cms/" target="_blank">
<el-menu-item index="http://124.221.134.143/cms/" class="block">
<a href="http://124.221.134.143/cms/" target="_blank">
<el-icon> <Van /> </el-icon>CMS
</a>
</el-menu-item>
<el-menu-item index="http://101.34.7.82/start/" class="block">
<a href="http://101.34.7.82/start/" target="_blank">
<el-menu-item index="http://124.221.134.143/start/" class="block">
<a href="http://124.221.134.143/start/" target="_blank">
<el-icon><Platform /></el-icon>导航
</a>
</el-menu-item>
<el-menu-item index="http://101.34.7.82/hot/" class="block">
<a href="http://101.34.7.82/hot/" target="_blank">
<el-menu-item index="http://124.221.134.143/hot/" class="block">
<a href="http://124.221.134.143/hot/" target="_blank">
<el-icon> <Sunny /> </el-icon>热榜
</a>
</el-menu-item>
<el-menu-item index="http://101.34.7.82/tools/" class="block">
<a href="http://101.34.7.82/tools/" target="_blank">
<el-menu-item index="http://124.221.134.143/tools/" class="block">
<a href="http://124.221.134.143/tools/" target="_blank">
<el-icon> <PriceTag /> </el-icon>在线工具
</a>
</el-menu-item>
Expand Down

0 comments on commit d3b9380

Please sign in to comment.