allen před 1 měsícem
rodič
revize
19bb6945f9

+ 4 - 4
ips-admin/src/main/resources/application.yml

@@ -9,7 +9,7 @@ ruoyi:
   # 实例演示开关
   demoEnabled: true
   # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
-  profile: D:/nupu-ips/uploadPath
+  profile: D:/ips/uploadPath
   # 获取ip地址开关
   addressEnabled: false
   # 验证码类型 math 数字计算 char 字符验证
@@ -66,14 +66,14 @@ spring:
   # redis 配置
   redis:
     # 地址
-    host: 101.126.133.7
-#    host: 127.0.0.1
+#    host: 101.126.133.7
+    host: 127.0.0.1
     # 端口,默认为6379
     port: 6379
     # 数据库索引
     database: 0
     # 密码 Z;G4AS:Vor'YF#p?
-    password: Z;G4AS:Vor'YF#p?
+    password:
     # 连接超时时间
     timeout: 10s
     jedis:

+ 0 - 2
ips-ui/src/background.js

@@ -5,7 +5,6 @@ import { createProtocol } from "vue-cli-plugin-electron-builder/lib";
 // import installExtension, { VUEJS_DEVTOOLS } from 'electron-devtools-installer'
 const isDevelopment = process.env.NODE_ENV !== "production";
 // const Store = require('electron-store');
-const path = require("path");
 
 // Scheme must be registered before the app is ready
 protocol.registerSchemesAsPrivileged([
@@ -17,7 +16,6 @@ async function createWindow() {
   const win = new BrowserWindow({
     width: 800,
     height: 600,
-    icon: path.join(__dirname, "../public/favicon.ico"),
     webPreferences: {
       // Use pluginOptions.nodeIntegration, leave this alone
       // See nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html#node-integration for more info