dev env
This commit is contained in:
@@ -11,20 +11,17 @@
|
|||||||
.ivu-layout-header {
|
.ivu-layout-header {
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 0px;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
background: #dddddd;
|
background: #dddddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ivu-layout-content {
|
.ivu-layout-content {
|
||||||
padding: 0px;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.layout-footer-center {
|
.layout-footer-center {
|
||||||
background: #dddddd;
|
background: #dddddd;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -130,7 +127,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
window.scrollTo(0, 0);
|
//window.scrollTo(0, 0);
|
||||||
});
|
});
|
||||||
|
|
||||||
//this.bindCopyTextEvent();
|
//this.bindCopyTextEvent();
|
||||||
|
|||||||
@@ -95,17 +95,25 @@ const config = {
|
|||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
proxy: {
|
proxy: {
|
||||||
"/note": {
|
"/redirect": {
|
||||||
target: "https://flagnote.com/", // 后台接口域名
|
//target: "https://flagnote.com/", // 后台接口域名
|
||||||
//target: "http://localhost:20000/", // 后台接口域名
|
target: "http://localhost:21000/", // 后台接口域名
|
||||||
|
secure: false, // 如果是https接口,需要配置这个参数
|
||||||
|
changeOrigin: true, //是否跨域
|
||||||
|
pathRewrite: {
|
||||||
|
'^/': '/html/'
|
||||||
|
},
|
||||||
|
},"/note": {
|
||||||
|
//target: "https://flagnote.com/", // 后台接口域名
|
||||||
|
target: "http://localhost:21000/", // 后台接口域名
|
||||||
secure: false, // 如果是https接口,需要配置这个参数
|
secure: false, // 如果是https接口,需要配置这个参数
|
||||||
changeOrigin: true, //是否跨域
|
changeOrigin: true, //是否跨域
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
// '^/': '/'
|
// '^/': '/'
|
||||||
},
|
},
|
||||||
}, "^/[abcdefhikmnopqstuvwxyz23456789]{16}\\.txt$": {
|
}, "^/[abcdefhikmnopqstuvwxyz23456789]{16}\\.txt$": {
|
||||||
target: "https://flagnote.com/", // 后台接口域名
|
//target: "https://flagnote.com/", // 后台接口域名
|
||||||
//target: "http://localhost:20000/", // 后台接口域名
|
target: "http://localhost:21000/", // 后台接口域名
|
||||||
secure: false, // 如果是https接口,需要配置这个参数
|
secure: false, // 如果是https接口,需要配置这个参数
|
||||||
changeOrigin: true, //是否跨域
|
changeOrigin: true, //是否跨域
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|||||||
Reference in New Issue
Block a user