mirror of
https://github.com/ProudMuBai/GoFilm.git
synced 2026-02-03 22:44:47 +08:00
UI Optimize
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<a href="javascript:void(0)"><b class="iconfont icon-gengxin"/>更新</a>
|
||||
<a href="/history"><b class="iconfont icon-lishi"/>历史</a>
|
||||
<a href="javascript:void(0)"><b class="iconfont icon-shoucang2"/>收藏</a>
|
||||
<a href="/manage"><b class="iconfont icon-ziyuan-copy"/>我的</a>
|
||||
<a href="javascript:void(0)"><b class="iconfont icon-ziyuan-copy"/>我的</a>
|
||||
</div>
|
||||
<p>本站所有内容均来自互联网分享站点所提供的公开引用资源,未提供资源上传、存储服务。</p>
|
||||
</div>
|
||||
|
||||
@@ -7,32 +7,32 @@ import {ElementPlusResolver} from "unplugin-vue-components/resolvers";
|
||||
|
||||
export default defineConfig({
|
||||
// 本地测试环境
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
port: 3600,
|
||||
proxy: {
|
||||
"/api": {
|
||||
// target: `http://127.0.0.1:3601`,
|
||||
target: `http://113.44.5.201:3601`,
|
||||
changeOrigin: true, // 允许跨域
|
||||
rewrite: path => path.replace(/^\/api/, '')
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
// nginx发布构建时使用此配置
|
||||
// server: {
|
||||
// host: 'localhost',
|
||||
// host: '0.0.0.0',
|
||||
// port: 3600,
|
||||
// proxy: {
|
||||
// "/api": {
|
||||
// target: `http://localhost`,
|
||||
// // target: `http://127.0.0.1:3601`,
|
||||
// target: `http://113.44.5.201:3601`,
|
||||
// changeOrigin: true, // 允许跨域
|
||||
// rewrite: path => path.replace(/^\/api/,'')
|
||||
// rewrite: path => path.replace(/^\/api/, '')
|
||||
// }
|
||||
// },
|
||||
// },
|
||||
|
||||
// nginx发布构建时使用此配置
|
||||
server: {
|
||||
host: 'localhost',
|
||||
port: 3600,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: `http://localhost`,
|
||||
changeOrigin: true, // 允许跨域
|
||||
rewrite: path => path.replace(/^\/api/,'')
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
plugins: [
|
||||
vue(),
|
||||
AutoImport({
|
||||
|
||||
Reference in New Issue
Block a user