Browse Source

SSL & image url

LightBeacon 5 years ago
parent
commit
313d7e88b7
2 changed files with 28 additions and 28 deletions
  1. 26 26
      News.xaml
  2. 2 2
      README.md

+ 26 - 26
News.xaml

@@ -514,9 +514,9 @@
 	<StackPanel Margin="30,40,30,20">
 		<Border Style="{StaticResource verImgBdr}">
             <Border.Background>
-                <ImageBrush ImageSource="http://image.lightbeacon.top:1142/21w14a.jpg" Stretch="Uniform"/>
+                <ImageBrush ImageSource="https://www.lightbeacon.top/news_image/21w14a.jpg" Stretch="Uniform"/>
             </Border.Background>
-            <Image Source="http://image.lightbeacon.top:1142/21w14a.jpg" Opacity="0"/>
+            <Image Source="https://www.lightbeacon.top/news_image/21w14a.jpg" Opacity="0"/>
         </Border>
 		<Border Style="{StaticResource verTxtBdr}">
 			<TextBlock Style="{StaticResource verTxtBlk}" Text="21W14A"/>
@@ -573,9 +573,9 @@
 	<StackPanel Margin="30,40,30,20">
 		<Border Style="{StaticResource verImgBdr}">
             <Border.Background>
-                <ImageBrush ImageSource="http://image.lightbeacon.top:1142/21w13a.jpg" Stretch="Uniform"/>
+                <ImageBrush ImageSource="https://www.lightbeacon.top/news_image/21w13a.jpg" Stretch="Uniform"/>
             </Border.Background>
-            <Image Source="http://image.lightbeacon.top:1142/21w13a.jpg" Opacity="0"/>
+            <Image Source="https://www.lightbeacon.top/news_image/21w13a.jpg" Opacity="0"/>
         </Border>
 		<Border Style="{StaticResource verTxtBdr}">
 			<TextBlock Style="{StaticResource verTxtBlk}" Text="21W13A"/>
@@ -655,9 +655,9 @@
 	<StackPanel Margin="30,40,30,20">
 		<Border Style="{StaticResource verImgBdr}">
             <Border.Background>
-                <ImageBrush ImageSource="http://image.lightbeacon.top:1142/21w11a.jpg" Stretch="Uniform"/>
+                <ImageBrush ImageSource="https://www.lightbeacon.top/news_image/21w11a.jpg" Stretch="Uniform"/>
             </Border.Background>
-            <Image Source="http://image.lightbeacon.top:1142/21w11a.jpg" Opacity="0"/>
+            <Image Source="https://www.lightbeacon.top/news_image/21w11a.jpg" Opacity="0"/>
         </Border>
 		<Border Style="{StaticResource verTxtBdr}">
 			<TextBlock Style="{StaticResource verTxtBlk}" Text="21W11A"/>
@@ -749,9 +749,9 @@
 	<StackPanel Margin="30,40,30,20">
 		<Border Style="{StaticResource verImgBdr}">
             <Border.Background>
-                <ImageBrush ImageSource="http://image.lightbeacon.top:1142/21w10a.jpg" Stretch="Uniform"/>
+                <ImageBrush ImageSource="https://www.lightbeacon.top/news_image/21w10a.jpg" Stretch="Uniform"/>
             </Border.Background>
-            <Image Source="http://image.lightbeacon.top:1142/21w10a.jpg" Opacity="0"/>
+            <Image Source="https://www.lightbeacon.top/news_image/21w10a.jpg" Opacity="0"/>
         </Border>
 		<Border Style="{StaticResource verTxtBdr}">
 			<TextBlock Style="{StaticResource verTxtBlk}" Text="21W10A"/>
@@ -775,7 +775,7 @@
 		
 		<Ellipse/>
 		<TextBlock Style="{StaticResource ListItem}" Text="深层铜矿石、绿宝石矿石、煤矿石"/>
-		<Image Source="http://image.lightbeacon.top:1142/20w10a_newores.jpg" Margin="10,0,10,0"/>
+		<Image Source="https://www.lightbeacon.top/news_image/20w10a_newores.jpg" Margin="10,0,10,0"/>
 		<TextBlock Text="新加入的矿石" FontSize="14" Foreground="#FF777777" HorizontalAlignment="Center" Margin="0,0,0,15"/>
 		
 		</StackPanel>
@@ -797,7 +797,7 @@
 		
 		<Ellipse/>
 		<TextBlock Style="{StaticResource ListItem}" Text="矿石与深板岩材质第三次调整。" />
-		<Image Source="http://image.lightbeacon.top:1142/ore_textures_changes_3.jpg" Margin="10,0,10,0"/>
+		<Image Source="https://www.lightbeacon.top/news_image/ore_textures_changes_3.jpg" Margin="10,0,10,0"/>
 		<TextBlock Text="材质调整对比图" FontSize="14" Foreground="#FF777777" HorizontalAlignment="Center" Margin="0,0,0,15"/>
 		
 		<Ellipse/>
@@ -820,7 +820,7 @@
 		<TextBlock Style="{StaticResource ListItem}" Text="减少裸露的煤炭矿石生成。" />
 		</StackPanel>
 		
-		<Image Source="http://image.lightbeacon.top:1142/ore_distribution_compare_3.jpg" Margin="10,0,10,0"/>
+		<Image Source="https://www.lightbeacon.top/news_image/ore_distribution_compare_3.jpg" Margin="10,0,10,0"/>
 		<TextBlock Text="主世界矿石分布更改对比图" FontSize="14" Foreground="#FF777777" HorizontalAlignment="Center" Margin="0,0,0,15"/>
 		
 		</StackPanel>
@@ -861,9 +861,9 @@
 	<StackPanel Margin="30,40,30,20">
 		<Border Style="{StaticResource verImgBdr}">
             <Border.Background>
-                <ImageBrush ImageSource="http://image.lightbeacon.top:1142/21w08a.jpg" Stretch="Uniform"/>
+                <ImageBrush ImageSource="https://www.lightbeacon.top/news_image/21w08a.jpg" Stretch="Uniform"/>
             </Border.Background>
-            <Image Source="http://image.lightbeacon.top:1142/21w08a.jpg" Opacity="0"/>
+            <Image Source="https://www.lightbeacon.top/news_image/21w08a.jpg" Opacity="0"/>
         </Border>
 		<Border Style="{StaticResource verTxtBdr}">
 			<TextBlock Style="{StaticResource verTxtBlk}" Text="21W08B"/>
@@ -895,12 +895,12 @@
 		
 		<Ellipse/>
 		<TextBlock Style="{StaticResource ListItem}" Text="矿石材质第二次调整与黑石和深板岩材质调整。" />
-		<Image Source="http://image.lightbeacon.top:1142/ore_textures_changes_2.jpg" Margin="10,0,10,0"/>
+		<Image Source="https://www.lightbeacon.top/news_image/ore_textures_changes_2.jpg" Margin="10,0,10,0"/>
 		<TextBlock Text="材质调整对比图(左旧右新)" FontSize="14" Foreground="#FF777777" HorizontalAlignment="Center" Margin="0,0,0,15"/>
 		
 		<Ellipse/>
 		<TextBlock Style="{StaticResource ListItem}" Text="矿石分布第二次调整(非最终版本)。" />
-		<Image Source="http://image.lightbeacon.top:1142/ore_distribution_compare_2.jpg" Margin="10,0,10,0"/>
+		<Image Source="https://www.lightbeacon.top/news_image/ore_distribution_compare_2.jpg" Margin="10,0,10,0"/>
 		<TextBlock Text="主世界矿石分布更改对比图" FontSize="14" Foreground="#FF777777" HorizontalAlignment="Center" Margin="0,0,0,15"/>
 		
 		<Ellipse/>
@@ -966,9 +966,9 @@
 	<StackPanel Margin="30,40,30,20">
 		<Border Style="{StaticResource verImgBdr}">
             <Border.Background>
-                <ImageBrush ImageSource="http://image.lightbeacon.top:1142/21w07a.jpg" Stretch="Uniform"/>
+                <ImageBrush ImageSource="https://www.lightbeacon.top/news_image/21w07a.jpg" Stretch="Uniform"/>
             </Border.Background>
-            <Image Source="http://image.lightbeacon.top:1142/21w07a.jpg" Opacity="0"/>
+            <Image Source="https://www.lightbeacon.top/news_image/21w07a.jpg" Opacity="0"/>
         </Border>
 		<Border Style="{StaticResource verTxtBdr}">
 			<TextBlock Style="{StaticResource verTxtBlk}" Text="21W07A"/>
@@ -988,7 +988,7 @@
 		<Ellipse/>
 		<TextBlock Style="{StaticResource ListItem}" Text="更改了黑石、磨制黑石砖和裂纹磨制黑石砖与主世界矿石的材质" />
 		
-		<Image Source="http://image.lightbeacon.top:1142/ore_textures_changes.png" Margin="10,0,10,0"/>
+		<Image Source="https://www.lightbeacon.top/news_image/ore_textures_changes.png" Margin="10,0,10,0"/>
 		<TextBlock Text="主世界矿石材质更改对比图" FontSize="14" Foreground="#FF777777" HorizontalAlignment="Center" Margin="0,0,0,15"/>
 		
 		<Ellipse/>
@@ -997,7 +997,7 @@
 		<Ellipse/>
 		<TextBlock Style="{StaticResource ListItem}" Text="矿石分布调整(非最终版本)" />
 		
-		<Image Source="http://image.lightbeacon.top:1142/ore_distribution_compare.jpg" Margin="10,0,10,0"/>
+		<Image Source="https://www.lightbeacon.top/news_image/ore_distribution_compare.jpg" Margin="10,0,10,0"/>
 		<TextBlock Text="主世界矿石分布更改对比图(翻译:卡狗)" FontSize="14" Foreground="#FF777777" HorizontalAlignment="Center" Margin="0,0,0,15"/>
 		
 		<Ellipse/>
@@ -1036,9 +1036,9 @@
 	<StackPanel Margin="30,40,30,20">
 		<Border Style="{StaticResource verImgBdr}">
             <Border.Background>
-                <ImageBrush ImageSource="http://image.lightbeacon.top:1142/21w06a.jpg" Stretch="Uniform"/>
+                <ImageBrush ImageSource="https://www.lightbeacon.top/news_image/21w06a.jpg" Stretch="Uniform"/>
             </Border.Background>
-            <Image Source="http://image.lightbeacon.top:1142/21w06a.jpg" Opacity="0"/>
+            <Image Source="https://www.lightbeacon.top/news_image/21w06a.jpg" Opacity="0"/>
         </Border>
 		<Border Style="{StaticResource verTxtBdr}">
 			<TextBlock Style="{StaticResource verTxtBlk}" Text="21W06A"/>
@@ -1116,9 +1116,9 @@
 	<StackPanel Margin="30,40,30,20">
 		<Border Style="{StaticResource verImgBdr}">
             <Border.Background>
-                <ImageBrush ImageSource="http://image.lightbeacon.top:1142/21w05a.jpg" Stretch="Uniform"/>
+                <ImageBrush ImageSource="https://www.lightbeacon.top/news_image/21w05a.jpg" Stretch="Uniform"/>
             </Border.Background>
-            <Image Source="http://image.lightbeacon.top:1142/21w05a.jpg" Opacity="0"/>
+            <Image Source="https://www.lightbeacon.top/news_image/21w05a.jpg" Opacity="0"/>
         </Border>
 		<Border Style="{StaticResource verTxtBdr}">
 			<TextBlock Style="{StaticResource verTxtBlk}" Text="21W05B"/>
@@ -1644,14 +1644,14 @@
 	<StackPanel Margin="40,40,30,20">
 		<TextBlock Margin="20,5,0,10" Text="新闻主页过时新闻太过冗长,预计PCL2支持在线获取帮助页后将部分过期快照迁移至帮助页。"/>
 		<TextBlock Text="2021/3/25" FontSize="14" Foreground="#FF777777" Margin="0,10,0,10"/>
-<!--		<local:MyListItem Margin="0,0,0,10" EventType="打开帮助" EventData="http://image.lightbeacon.top:1142/test.xaml" />-->
+<!--		<local:MyListItem Margin="0,0,0,10" EventType="打开帮助" EventData="https://www.lightbeacon.top/news_image/test.xaml" />-->
 	</StackPanel>
 </local:MyCard>	
 
 <local:MyCard Margin="0,0,0,15" Title="M‏‍‌‎‍‍​‏‏‌‏‎‍‌​‏‍‌‍‍‎​‏‏‌‍‌​‏‍‌‍‎‏‏​‏‏‌​​‏‏‌​‍‎‏​‏‎​‎‍​‎​‍‏​‏‏‌​‌‍‏​‎‏​‍‌​‍​‌‏​‌‎inecraft Crowdin新增文言文翻译" CanSwap="True" IsSwaped="True">
 	<StackPanel Margin="40,40,30,20">
 		<TextBlock Margin="20,5,0,10" Text="    文言文翻译已被加入Minecraft Crowdin,有望在未来版本加入到游戏中。" />
-		<Image Margin="0,0,10,0" Source="http://image.lightbeacon.top:1142/news0001.png"  HorizontalAlignment="Left" MaxWidth="600"/>
+		<Image Margin="0,0,10,0" Source="https://www.lightbeacon.top/news_image/news0001.png"  HorizontalAlignment="Left" MaxWidth="600"/>
 		<TextBlock Text="2021/1/22" FontSize="14" Foreground="#FF777777" Margin="0,10,0,10"/>
 	</StackPanel>
 </local:MyCard>	
@@ -1690,7 +1690,7 @@
 
 		<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
 		<TextBlock Text="订阅地址:  " />
-		<local:MyTextButton Text="http://news.lightbeacon.top" EventType="复制文本" EventData="http://news.lightbeacon.top" ToolTip="点击复制到剪贴板"/>
+		<local:MyTextButton Text="https://news.lightbeacon.top" EventType="复制文本" EventData="https://news.lightbeacon.top" ToolTip="点击复制到剪贴板"/>
 		</StackPanel>
 
 		<StackPanel Orientation="Horizontal" Margin="0,2,0,0">

+ 2 - 2
README.md

@@ -2,7 +2,7 @@
 
 在PCL2中提供MC相关新闻的主页
 
-订阅地址: **`news.lightbeacon.top`**
+订阅地址: **`https://news.lightbeacon.top`**
 
 授权协议:[CC BY-NC-SA 3.0](https://creativecommons.org/licenses/by-nc-sa/3.0/)
 
@@ -11,5 +11,5 @@
 1. 下载PCL2(公测版下载:<https://afdian.net/@LTCat> 找到Beta字样的是公测版)
 2. 打开PCL2
 3. 依次点击设置 -> 个性化 -> 主页 -> 联网更新
-4. 在 “下载地址” 栏中输入地址:`news.lightbeacon.top`
+4. 在 “下载地址” 栏中输入地址:`https://news.lightbeacon.top`
 5. 返回主页,完成!