Compare commits

...

2 Commits

Author SHA1 Message Date
laoxong e8244a50e9 fix: 修正 Docker Hub 仓库名称
Build and Push Docker Image / build_docker_image (push) Successful in 15m16s
2025-11-23 19:50:24 +09:00
laoxong 98aa3060ce fix: 添加缺失的支持NIP 2025-11-23 19:48:44 +09:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ secrets.DOCKER_USERNAME }}/nostr_demo # 你的 Docker Hub 仓库名称,替换为你的用户名
images: ${{ secrets.DOCKER_USERNAME }}/nostr
tags: |
type=schedule
type=ref,event=branch
+1 -1
View File
@@ -29,7 +29,7 @@ pub static SERVER_INFO: Lazy<ServerInfo> = Lazy::new(|| ServerInfo {
name: "A rust nostr relay by laoXong",
pubkey: "63abd4f817e39cca4e6abb6e6cf3e133bb718cf8ec28b38c1645e84d7a6190c6",
software: "https://git.moe.gift/laoxong/nostr-relay",
supported_nips: vec![1, 2, 5, 42, 65],
supported_nips: vec![1, 2, 5, 9, 11, 42, 50, 65],
version: env!("CARGO_PKG_VERSION"), // 从 Cargo.toml 获取版本
auth_required: env::var("AUTH_REQUIRED")
.unwrap_or_else(|_| "false".to_string())