From ae10b06c06fcd3f4dd2aa72ff70b364efb0f8ddc Mon Sep 17 00:00:00 2001
From: mobeicanyue <81098819+mobeicanyue@users.noreply.github.com>
Date: Tue, 30 Apr 2024 17:19:45 +0800
Subject: [PATCH] Fix image URLs and update video paths in articles
---
_config.yml | 2 +-
.../_posts/Deploy-a-springboot-project-to-server.md | 5 +++--
source/_posts/Recording-the-Good-Life-1.md | 7 ++++---
.../output.webm | Bin
.../output2.webm | Bin
5 files changed, 8 insertions(+), 6 deletions(-)
rename source/{_posts/Recording-the-Good-Life-1 => videos}/output.webm (100%)
rename source/{_posts/Recording-the-Good-Life-1 => videos}/output2.webm (100%)
diff --git a/_config.yml b/_config.yml
index c923c625..8ec25204 100644
--- a/_config.yml
+++ b/_config.yml
@@ -56,8 +56,8 @@ external_link:
filename_case: 0
render_drafts: true
+# post_asset_folder: true
# 可以使用正常的 markdown 语法引用图片而不再使用 hexo 的 {% asset_path slug %} 语法
-post_asset_folder: true
marked:
prependRoot: true
postAsset: true
diff --git a/source/_posts/Deploy-a-springboot-project-to-server.md b/source/_posts/Deploy-a-springboot-project-to-server.md
index 85d817b0..102d1859 100644
--- a/source/_posts/Deploy-a-springboot-project-to-server.md
+++ b/source/_posts/Deploy-a-springboot-project-to-server.md
@@ -173,10 +173,11 @@ Springboot 打包好后可以通过 `java -jar xxx.jar` 命令启动项目。但
输入以下命令启动项目:
```bash
-nohup java -jar xxx.jar
+nohup java -jar xxx.jar >> nohup.out 2>&1 &
```
-`nohup` 命令可以让程序在后台运行,不会因为终端关闭而停止。我们还可以通过查看 `nohup.out` 文件来查看程序的输出。
+- `nohup` 命令可以让程序在后台运行,不占用当前终端,不会因为终端关闭而停止。
+- `>> nohup.out 2>&1` 将输出重定向到 `nohup.out` 文件中,这样我们可以查看项目的输出日志。
## 6. 反向代理与 SSL 证书申请
diff --git a/source/_posts/Recording-the-Good-Life-1.md b/source/_posts/Recording-the-Good-Life-1.md
index 23f2454a..5cf21e7a 100644
--- a/source/_posts/Recording-the-Good-Life-1.md
+++ b/source/_posts/Recording-the-Good-Life-1.md
@@ -16,7 +16,7 @@ date: 2024-04-02 19:01:33
也许,远在四年前高考结束时的我,可能也有类似的感悟和微妙的心绪,对当时的我来说,高中的一切都还是那么熟悉,没有来得及好好感悟和说再见就已然结束了。
-
+

@@ -40,8 +40,9 @@ date: 2024-04-02 19:01:33
下面是我拍摄的一段飞机云中穿行的视频,感觉略有意境。
-
-
+
+
+
---
diff --git a/source/_posts/Recording-the-Good-Life-1/output.webm b/source/videos/output.webm
similarity index 100%
rename from source/_posts/Recording-the-Good-Life-1/output.webm
rename to source/videos/output.webm
diff --git a/source/_posts/Recording-the-Good-Life-1/output2.webm b/source/videos/output2.webm
similarity index 100%
rename from source/_posts/Recording-the-Good-Life-1/output2.webm
rename to source/videos/output2.webm