💾 Archived View for lists.flounder.online › patches › threads › 20210320000714.11299-1-johann@qwertq… captured on 2022-07-16 at 16:25:16. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

[PATCH mygit 1/4] actually use port from config

[PATCH mygit 1/4] actually use port from config

From: johann@qwertqwefsday.eu

Date: Sat, 20 Mar 2021 01:07:11 +0100

Message-Id: 20210320000714.11299-1-johann@qwertqwefsday.eu

To: <~aw/patches@lists.sr.ht>

Cc: "Johann150" <johann@qwertqwefsday.eu>

Reply

Export

--------------------------------------

From: Johann150 <johann@qwertqwefsday.eu>

---

src/main.rs | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs

index 26ba66a..33d1afe 100644

--- a/src/main.rs

+++ b/src/main.rs

@@ -482,6 +482,6 @@ async fn main() -> Result<(), std::io::Error> {

app.at("/:repo_name/tree/:ref/item/:object_name")

.get(repo_file);

// Raw files, patch files

- app.listen("127.0.0.1:8081").await?;

+ app.listen(format!("[::]:{}", CONFIG.port)).await?;

Ok(())

}

--

2.20.1

Re: [PATCH mygit 1/4] actually use port from config

From: alex@alexwennerberg.com

Date: Sat, 20 Mar 2021 10:47:12 -0700

Message-Id: CA2D7R8679WK.1S8FHMACN8Z5Z@debian-alex

To: "Johann Galle" <johann@qwertqwefsday.eu>, <~aw/patches@lists.sr.ht>

In-Reply-To: 20210320000714.11299-1-johann@qwertqwefsday.eu

Reply

Export

--------------------------------------

Thanks! Applied

On Fri Mar 19, 2021 at 5:07 PM PDT, Johann Galle wrote:

From: Johann150 <johann@qwertqwefsday.eu>
---
src/main.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.rs b/src/main.rs
index 26ba66a..33d1afe 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -482,6 +482,6 @@ async fn main() -> Result<(), std::io::Error> {
app.at("/:repo_name/tree/:ref/item/:object_name")
.get(repo_file);
// Raw files, patch files
- app.listen("127.0.0.1:8081").await?;
+ app.listen(format!("[::]:{}", CONFIG.port)).await?;
Ok(())
}
--
2.20.1