aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-09-25 16:03:17 +0200
committermetamuffin <metamuffin@disroot.org>2022-09-25 16:03:17 +0200
commit2403a9a3599c4b77d33fb6de5f438e53e19412ff (patch)
tree52d97db8fffc0938df04e7263e9bd600f68f90fc
parent9d60efd6be9cfdaff2d2191dac18ccfd9cae8b7f (diff)
downloadmetamuffin-blog-2403a9a3599c4b77d33fb6de5f438e53e19412ff.tar
metamuffin-blog-2403a9a3599c4b77d33fb6de5f438e53e19412ff.tar.bz2
metamuffin-blog-2403a9a3599c4b77d33fb6de5f438e53e19412ff.tar.zst
update BLOG_BASE
-rw-r--r--code/src/atom.rs6
-rw-r--r--code/src/main.rs2
2 files changed, 4 insertions, 4 deletions
diff --git a/code/src/atom.rs b/code/src/atom.rs
index 0b3b5ba..7912b97 100644
--- a/code/src/atom.rs
+++ b/code/src/atom.rs
@@ -27,7 +27,7 @@ pub fn generate_atom(args: &Args) -> String {
r#"
<entry>
<title>{title}</title>
- <link href="https://{BLOG_BASE}/{canonical_name}.html" />
+ <link href="{BLOG_BASE}/{canonical_name}.html" />
<id>tag:metamuffin.org,{date},{title}</id>
<published>{datetime}</published>
<summary>N/A</summary>
@@ -45,8 +45,8 @@ pub fn generate_atom(args: &Args) -> String {
<feed xmlns="http://www.w3.org/2005/Atom">
<title>metamuffin's blog</title>
<subtitle>where they post pointless stuff</subtitle>
- <link href="https://{BLOG_BASE}/feed.atom" rel="self" />
- <link href="https://{BLOG_BASE}/" />
+ <link href="{BLOG_BASE}/feed.atom" rel="self" />
+ <link href="{BLOG_BASE}/" />
<id>urn:uuid:3cf2b704-3d94-4f1f-b194-42798ab5b47c</id>
<updated>{}</updated>
<author>
diff --git a/code/src/main.rs b/code/src/main.rs
index c20d137..21732d7 100644
--- a/code/src/main.rs
+++ b/code/src/main.rs
@@ -14,7 +14,7 @@ use std::{
process::{Command, Stdio},
};
-pub const BLOG_BASE: &'static str = "s.metamuffin.org/temp/blog-preview";
+pub const BLOG_BASE: &'static str = "https://metamuffin.org/blog";
#[derive(Parser)]
pub struct Args {