Browse Source

前端优化

LinWuTai 1 year ago
parent
commit
3b9ca1ffa8

+ 6 - 1
lab-admin/src/main/resources/application.yml

@@ -9,7 +9,7 @@ ruoyi:
   # 实例演示开关
   demoEnabled: true
   # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
-  profile: E:/ruoyi/uploadPath
+  profile: E:/ruoyi/uploadPath #  --ruoyi.profile=/root/ydl/lab-manage-GZYKD/ruoyi/uploadPath
   # 获取ip地址开关
   addressEnabled: false
   # 验证码类型 math 数组计算 char 字符验证
@@ -32,6 +32,11 @@ server:
       max: 800
       # Tomcat启动初始化的线程数,默认值10
       min-spare: 100
+  ssl: # 配置SSL
+    key-store: classpath:sylwt.top.jks
+    key-store-password: 8470678b3qon7x2
+    key-store-type: JKS
+    enabled: true
 
 # 日志配置
 logging:

BIN
lab-admin/src/main/resources/sylwt.top.jks


BIN
lab-ui/public/favicon.ico


BIN
lab-ui/src/assets/images/login-background.jpg


BIN
lab-ui/src/assets/logo/logo.png


+ 1 - 1
lab-ui/src/views/index_v1.vue

@@ -1,4 +1,4 @@
-<template>
+ <template>
   <div class="dashboard-editor-container">
 
     <panel-group @handleSetLineChartData="handleSetLineChartData" />

+ 1 - 1
lab-ui/vue.config.js

@@ -35,7 +35,7 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://localhost:8080`,
+        target: `https://sylwt.top:8080/`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''