From 2df82dbc10c977697cba04cabbbd892ad9d0e611 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Sat, 08 May 2021 14:18:31 +0800
Subject: [PATCH] https调整

---
 public/weather/index.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/weather/index.html b/public/weather/index.html
index cccb413..39e70fd 100644
--- a/public/weather/index.html
+++ b/public/weather/index.html
@@ -5,7 +5,6 @@
     <meta charset="UTF-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
     <title>天气</title>
     <!-- axios -->
     <script src='../map/lib/axios.js'></script>
@@ -61,7 +60,8 @@
                 },
                 getWeather() {
                     var that = this;
-                    var url = `http://wthrcdn.etouch.cn/weather_mini?city=${this.city}`
+                    // var url = `http://wthrcdn.etouch.cn/weather_mini?city=${this.city}`
+                    var url = `https://web.byisf.com/weather/weather_mini?city=${this.city}`
                     axios.get(url).then((res) => {
                         var data = res.data.data,
                             nowDay = data.forecast[0];

--
Gitblit v1.9.3