mwrap user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH] httpd: different URLs for Ruby vs Perl versions
@ 2023-01-08 23:43 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2023-01-08 23:43 UTC (permalink / raw)
  To: mwrap-public

They're different projects, still, I guess...
---
 ext/mwrap/httpd.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ext/mwrap/httpd.h b/ext/mwrap/httpd.h
index 0ef6cd9..cea79f7 100644
--- a/ext/mwrap/httpd.h
+++ b/ext/mwrap/httpd.h
@@ -38,7 +38,11 @@
 #include "picohttpparser_c.h"
 #include <pthread.h>
 #include <stdbool.h>
-#define URL "https://80x24.org/mwrap-perl.git/about"
+#if MWRAP_PERL
+#	define URL "https://80x24.org/mwrap-perl.git/"
+#else
+#	define URL "https://80x24.org/mwrap.git/"
+#endif
 #define TYPE_HTML "text/html; charset=UTF-8"
 #define TYPE_CSV "text/csv"
 #define TYPE_PLAIN "text/plain"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-08 23:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-08 23:43 [PATCH] httpd: different URLs for Ruby vs Perl versions Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mwrap.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).